The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Malicious site pointed A-Record to my IP, Google Indexed

    Malicious site pointed A-Record to my IP, Google Indexed

    Intermediate & Advanced SEO
    10 3 251
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FranGen
      FranGen last edited by

      Hello All,

      I launched my site on May 1 and as it turns out, another domain was pointing it's A-Record to my IP. This site is coming up as malicious, but worst of all, it's ranking on keywords for my business objectives with my content and metadata, therefore I'm losing traffic.

      I've had the domain host remove the incorrect A-Record and I've submitted numerous malware reports to Google, and attempted to request removal of this site from the index. I've resubmitted my sitemap, but it seems as though this offending domain is still being indexed more thoroughly than my legitimate domain.

      Can anyone offer any advice? Anything would be greatly appreciated!

      Best regards,

      Doug

      1 Reply Last reply Reply Quote 0
      • Highland
        Highland last edited by

        That sounds like a bad web server config. Most servers run a virtual host, meaning the URL determines what website is served up. Either you have your own virtual dedicated server and only one site that isn't using vhost, or your host has set your website up as the default site.

        If you have control over the web server config, I would add the malicious site to the config as a hosted site and then have it return a 404. That should de-index it.

        If you don't have that level of control, try to get a 301 redirect for the bad domain. You really need  something like an htaccess that says if a site is accessing my website as anything but www.mydomain.com it needs to 301 to that URL. Otherwise anyone in the world can hijack your site the way it's set up now. Just point another A record and instant duplicate content headaches.

        FranGen 1 Reply Last reply Reply Quote 2
        • FranGen
          FranGen @Highland last edited by

          Thanks for your reply! It's hosted with GoDaddy on their Economy package. I believe it's shared hosting.

          With that being said, unfortunately I don't have access to the server config. How would I go about implementing a 301 redirect for the other domain or even better a 404?

          I absolutely agree about modifying the htaccess. As it stands now, I've hacked it together, but I'll see if I can find out how to do what you're suggesting.

          I appreciate your feedback so far.

          Best regards

          Highland 1 Reply Last reply Reply Quote 0
          • Highland
            Highland @FranGen last edited by

            Your htaccess file can do the 301 (it's actually a config file you can control). Here's some sample code that should do the trick.

            RewriteEngine on
            RewriteCond %{HTTP_HOST} .
            RewriteCond %{HTTP_HOST} !^www.domain.com
            RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

            FranGen 1 Reply Last reply Reply Quote 1
            • FranGen
              FranGen @Highland last edited by

              Thank you! This will prevent future issues, but in terms of the other domain pulling rank on mine, is that something I need to wait out since I have no control? Is there any way to have it removed?

              Highland 1 Reply Last reply Reply Quote 0
              • Highland
                Highland @FranGen last edited by

                Does it still resolve to your site? If not, it should fall off as Google spiders it again.

                FranGen 1 Reply Last reply Reply Quote 1
                • FranGen
                  FranGen @Highland last edited by

                  Nope, it doesn't. I guess it's just a waiting game at this point. Thank you again.

                  Cyrus-Shepard 1 Reply Last reply Reply Quote 0
                  • Cyrus-Shepard
                    Cyrus-Shepard @FranGen last edited by

                    Hi Edward,

                    You might have already done this, but:

                    1. Crawl as Googlebot to your homepage - submit all pages and all linked pages to index.

                    2. You said you submitted your sitemap. Submit it again.

                    3. Hopefully this will resolve in a couple weeks. Tough to wait it out.

                    FranGen 1 Reply Last reply Reply Quote 0
                    • FranGen
                      FranGen @Cyrus-Shepard last edited by

                      Thanks Cyrus. Do you mean Fetch as Google? I'm not too familiar with that specific tool.

                      Just in case someone runs into the same issue that I've encountered, I'll include my final steps in remedying this problem (hopefully).

                      I was finally able to contact the webmaster of the other domain who agreed to take down the site. I contacted GoDaddy to confirm her site was down, since I wasn't risking getting my machine infected with malware. Next I went to Webmaster Tools and requested content removal, page by page until all of the bad URLs were submitted.

                      In my frustration and possibly paranoia, I've also had to battle with GoDaddy to get a new dedicated IP address since I believe this IP could now be "tainted" or flagged as a malicious or spammy.

                      Cyrus, you couldn't be more accurate. Extremely tough to wait out. Hopefully this will help someone out down the road.

                      Thanks again.

                      Cyrus-Shepard 1 Reply Last reply Reply Quote 0
                      • Cyrus-Shepard
                        Cyrus-Shepard @FranGen last edited by

                        Yes, sorry, Fetch as Google: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=158587

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Indexed Pages Different when I perform a "site:Google.com" site search - why?
                          0
                          1
                          118

                        • Why isn't Google indexing this site?
                          GastonRiera
                          GastonRiera
                          0
                          8
                          124

                        • Google Indexing our site
                          GastonRiera
                          GastonRiera
                          0
                          9
                          187

                        • My site shows 503 error to Google bot, but can see the site fine. Not indexing in Google. Help
                          Everett
                          Everett
                          0
                          3
                          733

                        • Why isn't my site being indexed by Google?
                          Chris661
                          Chris661
                          0
                          3
                          188

                        • Why is a site no longer being indexed by Google after HTTPS switch?
                          JaneCopland
                          JaneCopland
                          0
                          3
                          114

                        • Huge Google index on E-commerce site
                          ssiebn7
                          ssiebn7
                          0
                          4
                          106

                        • Site Indexed by Google but not Bing or Yahoo
                          wrttnwrd
                          wrttnwrd
                          0
                          3
                          6.6k

                        Get started with Moz Pro!

                        Unlock the power of advanced SEO tools and data-driven insights.

                        Start my free trial
                        Products
                        • Moz Pro
                        • Moz Local
                        • Moz API
                        • Moz Data
                        • STAT
                        • Product Updates
                        Moz Solutions
                        • SMB Solutions
                        • Agency Solutions
                        • Enterprise Solutions
                        • Digital Marketers
                        Free SEO Tools
                        • Domain Authority Checker
                        • Link Explorer
                        • Keyword Explorer
                        • Competitive Research
                        • Brand Authority Checker
                        • Local Citation Checker
                        • MozBar Extension
                        • MozCast
                        Resources
                        • Blog
                        • SEO Learning Center
                        • Help Hub
                        • Beginner's Guide to SEO
                        • How-to Guides
                        • Moz Academy
                        • API Docs
                        About Moz
                        • About
                        • Team
                        • Careers
                        • Contact
                        Why Moz
                        • Case Studies
                        • Testimonials
                        Get Involved
                        • Become an Affiliate
                        • MozCon
                        • Webinars
                        • Practical Marketer Series
                        • MozPod
                        Connect with us

                        Contact the Help team

                        Join our newsletter
                        Moz logo
                        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                        • Accessibility
                        • Terms of Use
                        • Privacy