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. Technical SEO Issues
    4. Multiple Domains, Same IP address, redirecting to preferred domain (301) -site is still indexed under wrong domains

    Multiple Domains, Same IP address, redirecting to preferred domain (301) -site is still indexed under wrong domains

    Technical SEO Issues
    4 3 2.9k
    • 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.
    • sboelter
      sboelter last edited by

      Due to acquisitions over time and the merging of many microsites into one major site, we currently have 20+ TLD's  pointing to the same IP address as our "preferred domain:"  for our consolidated website http://goo.gl/gH33w. They are all set up as 301 redirects on apache - including both the www and non www versions.

      When we launched this consolidated website, (April 2010) we accidentally left the settings of our site open to accept any of our domains on the same IP.  This was later fixed but unfortunately Google indexed our site under multiple of these URL's (ignoring the redirects) using the same content from our main website but swapping out the domain.  We added some additional redirects on apache to redirect these individual pages pages indexed under the wrong domain to the same page under our main domain http://goo.gl/gH33w.  This seemed to help resolve the issue and moved hundreds of pages off the index.  However, in December of 2010 we made significant changes in our external dns for our ip addresses and now since December, we see pages indexed under these redirecting domains on the rise again.

      If you do a search query of : site:laboratoryid.com you will see a few hundred examples of pages indexed under the wrong domain.  When you click on the link, it does redirect to the same page but under the preferred domain.  So the redirect is working and has been confirmed as 301.  But for some reason Google continues to crawl our site and index under this incorrect domains.  Why is this? Is there a setting we are missing?   These domain level and page level redirects should be decreasing the pages being indexed under the wrong domain but it appears it is doing the reverse.

      All of these old domains currently point to our production IP address where are preferred domain is also pointing.  Could this be the issue?

      None of the pages indexed today are from the old version of these sites. They only seem to be the new content from the new site but not under the preferred domain.

      Any insight would be much appreciated because we have tried many things without success to get this resolved.

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

        The IP address issue is more of an Apache issue as you have already mentioned, but the IP won't play into this issue.

        There are 2 ways to help this fix itself:

        1. Add Canonicals to all your pages,
        2. Use an htaccess file with this:

        RewriteEngine On

        RewriteCond %{HTTP_HOST} ^[0-9]+(.[0-9]+){3} [OR]
        RewriteCond %{HTTP_HOST} ^bradyid.com [NC]
        RewriteRule ^(.*)$ http://www.bradyid.com/$1 [L,R=301]

        This will fix a few things, 1 removing anything that is linked to the IP address to be forwarded to the domain version, move anything that is linked to the mis-configured Apache to resolve properly.

        This shouldn't work: http://12.69.60.161/ but it does.

        Where's the xml sitemap? add that to your to-do list 😉

        RyanPurkey 1 Reply Last reply Reply Quote 0
        • RyanPurkey
          RyanPurkey @sferrino last edited by

          One thing about the navigating directly to an IP address, that will work as long as it's a dedicated IP because you're circumventing the name server, i.e. you can go to cnn.com via http://157.166.226.26/ and not be redirected to www.cnn.com because you're not being processed via the name server.

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

            Susan,

            Have not heard back from you.

            Does this help?

            Have you tried this method?

            Looking for additional insight?

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • 301 Domain Redirect from old domain with HTTPS
              waqid
              waqid
              0
              2
              65

            • Google is still indexing the old domain a year after 301 redirects are put in place
              NickSamuel
              NickSamuel
              0
              4
              784

            • Redirect multiple domains to 1 domain or not?
              Njnbiure45r4
              Njnbiure45r4
              0
              6
              377

            • Redirecting Root domain to subdirectory by IP addresses (country specific)
              katemorris
              katemorris
              0
              4
              2.5k

            • Google , 301 redirects, and multiple domains pointing to the same content.
              KeriMorgret
              KeriMorgret
              0
              4
              1.8k

            • IP address URLs being indexed, 301 to domain?
              mtipolyexe
              mtipolyexe
              0
              8
              4.6k

            • On a dedicated server with multiple IP addresses, how can one address group be slow/time out and all other IP addresses OK?
              RobertFisher
              RobertFisher
              0
              6
              2.5k

            • 301 Redirect from sub domain to new domain
              Thos003
              Thos003
              0
              3
              1.1k

            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