Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. Home
    2. Research & Trends
    3. White Hat / Black Hat SEO
    4. Preventing CNAME Site Duplications

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Preventing CNAME Site Duplications

    White Hat / Black Hat SEO
    3
    6
    1149
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question 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
      • 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
        • 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

            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 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
              • 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
                • 1 / 1
                • First post
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                Browse Questions

                Explore more categories

                • Moz Tools

                  Chat with the community about the Moz tools.

                • SEO Tactics

                  Discuss the SEO process with fellow marketers

                • Community

                  Discuss industry events, jobs, and news!

                • Digital Marketing

                  Chat about tactics outside of SEO

                • Research & Trends

                  Dive into research and trends in the search industry.

                • Support

                  Connect on product support and feature requests.

                • See all categories

                Related Questions

                • Ericrodrigo

                  How to fix site breadcrumbs on mobile google search

                  For past one month, I have been doing some research on how to fix this issue on my website but all my efforts didn't work out I really need help on this issue because I'm worried about this I was hoping that Google will cache or understand the structure of my site and correct the error the breadcrumb is working correctly on desktop but not shown on mobile. For Example take a look at : https://www.xclusivepop.com/omah-lay-bad-influence/

                  White Hat / Black Hat SEO | | Ericrodrigo
                  0
                • MarkHodson

                  Is this campaign of spammy links to non-existent pages damaging my site?

                  My site is built in Wordpress. Somebody has built spammy pharma links to hundreds of non-existent pages. I don't know whether this was inspired by malice or an attempt to inject spammy content. Many of the non-existent pages have the suffix .pptx. These now all return 403s. Example: https://www.101holidays.co.uk/tazalis-10mg.pptx A smaller number of spammy links point to regular non-existent URLs (not ending in .pptx). These are given 302s by Wordpress to my homepage. I've disavowed all domains linking to these URLs. I have not had a manual action or seen a dramatic fall in Google rankings or traffic. The campaign of spammy links appears to be historical and not ongoing. Questions: 1. Do you think these links could be damaging search performance? If so, what can be done? Disavowing each linking domain would be a huge task. 2. Is 403 the best response? Would 404 be better? 3. Any other thoughts or suggestions? Thank you for taking the time to read and consider this question. Mark

                  White Hat / Black Hat SEO | | MarkHodson
                  0
                • SEOBirmingham81

                  The use of a ghost site for SEO purposes

                  Hi Guys, Have just taken on a new client (.co.uk domain) and during our research have identified they also have a .com domain which is a replica of the existing site but all links lead to the .co.uk domain. As a result of this, the .com replica is pushing 5,000,000+ links to the .co.uk site. After speaking to the client, it appears they were approached by a company who said that they could get the .com site ranking for local search queries and then push all that traffic to .co.uk. From analytics we can see that very little referrer traffic is coming from the .com. It sounds remarkably dodgy to us - surely the duplicate site is an issue anyway for obvious reasons, these links could also be deemed as being created for SEO gain? Does anyone have any experience of this as a tactic? Thanks, Dan

                  White Hat / Black Hat SEO | | SEOBirmingham81
                  0
                • CFSSEO

                  Duplicate keywords in URL?

                  Is there such a thing as keyword stuffing URLs?  Such as a domain name of turtlesforsale.com having a directory called turtles-for-sale that houses all the pages on the site.  Every page would start out with turtlesforsale.com/turtles-for-sale/. Good or bad idea?  The owner is hoping to capitalize on the keywords of turtles for sale being in the URL twice and ranking better for that reason.

                  White Hat / Black Hat SEO | | CFSSEO
                  0
                • andzon

                  How would you optimize a new site?

                  Hi guys, im here to ask based on your personal opinion. We know in order to rank in SEO for a site is to make authority contents that interest people. But what would you do to increase your ranking of your site or maybe a blog post? leaving your link on blogs comment seem dangerous, nowadays. Is social media the only way to go? Trying to get people to write about you? what else can be done?

                  White Hat / Black Hat SEO | | andzon
                  0
                • crescentdigital

                  Suspicious external links to site have 302 redirects

                  Hi, I have been asked to look at a site where I suspect some questionable SEO work, particularly link building. The site does seem to be performing very poorly in Google since January 2014, although there are no messages in WMT. Using WMT, OPenSiteExplorer, Majestic & NetPeak, I have analysed inbound links and found a group of links which although are listed in WMT, etc appear to 302 redirect to a directory in China (therefore the actual linking domain is not visible). It looks like a crude type of link farm, but I cant understand why they would use 302s not 301s. The domains are not visible due to redirects. Should I request a disavow or ignore? The linking domains are listed below: http://www.basalts.cn/
                  http://www.chinamarbles.com.cn/
                  http://www.china-slate.com.cn/
                  http://www.granitecountertop.com.cn/
                  http://www.granite-exporter.com/
                  http://www.sandstones.biz/
                  http://www.stone-2.com/
                  http://www.stonebuild.cn/
                  http://www.stonecompany.com.cn/
                  http://www.stonecontact.cn/
                  http://www.stonecrate.com/
                  http://www.stonedesk.com/
                  http://www.stonedvd.com/
                  http://www.stonepark.cn/
                  http://www.stonetool.com.cn/
                  http://www.stonewebsite.com/ Thanks Steve

                  White Hat / Black Hat SEO | | crescentdigital
                  0
                • maestrosonrisas

                  Rel author and duplicate content

                  I have a question if a page who a im the only author, my web will duplicate content with the blog posts and the author post as they are the same. ¿what is your suggestion in that case? thanks

                  White Hat / Black Hat SEO | | maestrosonrisas
                  0
                • semoney

                  Site dropped suddenly. Is it due to htaccess?

                  I had a new site that was ranking on the first page for 5 keywords. My site was hacked recently and I went through a lot of trouble to restore it. Last night, I discovered that my site was nowhere to be found but when i searched site: mysite.com, it was still ranking which means it was not penalized. I discovered the issue to be a .htaccess and it have been resolved. My question is now that the .htaccess issue is resolved , will my site be restored back to the first page? Is there additional things that i should do? I have notified google by submitting my site

                  White Hat / Black Hat SEO | | semoney
                  0

                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
                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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.