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. White Hat / Black Hat SEO
    4. Preventing CNAME Site Duplications

    Preventing CNAME Site Duplications

    White Hat / Black Hat SEO
    6 3 335
    • 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.
    • David-Kley
      David-Kley last edited by

      Hello fellow mozzers!

      Let me see if I can explain this properly.

      First, our server admin is out of contact at the moment,
      so we are having to take this project on somewhat blind. (forgive the ignorance of terms).

      We have a client that needs a cname record setup, as they need a sales.DOMAIN.com to go to a different
      provider of data. They have a "store" platform that is hosted elsewhere and they require a cname to be 
      sent to a custom subdomain they set up on their end.

      My question is, how do we prevent the cname from being indexed along with the main domain? If we 
      process a redirect for the subdomain, then the site will not be able to go out and grab the other providers
      info and display it. Currently, if you type in the sales.DOMAIN.com it shows the main site's homepage.
      That cannot be allow to take place as we all know, having more than one domain with
      exact same content = very bad for seo. I'd rather not rely on Google to figure it out.

      Should we just have the cname host (where its pointing at) add a robots rule and have it set to not index
      the cname? The store does not need to be indexed, as the items are changed almost daily.

      Lastly, is an A record required for this type of situation in any way?

      Forgive my ignorance of subdomains, cname records and related terms. Our server admin being
      unavailable is not helping this project move along any. Any advice on the best way to handle
      this would be very helpful!

      1 Reply Last reply Reply Quote 0
      • Yeeply.com
        Yeeply.com last edited by

        Hello David,

        I think with the robots rule (there are many examples out there) should be more than enough in your case! take a look at this helpful article: http://moz.com/community/q/block-an-entire-subdomain-with-robots-txt

        I hope that was helpful! Sorry about my English... I'm Spanish 🙂

        Luis

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

          You need to point your cname to the ip of the server that hosts your sales.domain.com

          don't

          sales.domain.com > domain.com

          Do

          sales.domain.com > 123.123.123.123

          where 123.123.123.123 is the ip of the hosting webserver.

          David-Kley 1 Reply Last reply Reply Quote 1
          • David-Kley
            David-Kley @AlanMosley last edited by

            So does this work better because Google will not show an IP address in search results?

            AlanMosley 1 Reply Last reply Reply Quote 0
            • AlanMosley
              AlanMosley @David-Kley last edited by

              No,
              it is because you are pointing sales to a different sever, it seems to me that you don't have your dns set up correctly. you don't want sales pointing to your main website.

              David-Kley 1 Reply Last reply Reply Quote 0
              • David-Kley
                David-Kley @AlanMosley last edited by

                It is pointing to the other server now. We have it blocked from indexing on that end, just wanted to make sure that was enough.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Duplicate content site not penalized
                  KenSchaefer
                  KenSchaefer
                  0
                  3
                  60

                • Are bloggs published on blog platforms and on our own site be considered duplicate content?
                  Scratch_MM
                  Scratch_MM
                  0
                  4
                  62

                • Ecommerce Site Duplication
                  mike_o
                  mike_o
                  0
                  5
                  157

                • Hacked site vs No site
                  jessew
                  jessew
                  0
                  3
                  106

                • WP Datar site shady linking to my site
                  Andy.Drinkwater
                  Andy.Drinkwater
                  0
                  7
                  165

                • On-site duplication working - not penalised - any ideas?
                  JaneCopland
                  JaneCopland
                  0
                  4
                  98

                • Why does my entire site show duplicate page titles for every single page? I have palced a canonical tag on index page will this correct the problem?
                  Francisco_Meza
                  Francisco_Meza
                  0
                  3
                  471

                • Does the site have duplicate, overlapping, or redundant articles on the same or similar topics with slightly different keyword variations?
                  RyanKent
                  RyanKent
                  0
                  6
                  1.5k

                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