• majorAlexa

        See all notifications

        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.

          Let your business shine with Listings AI
          Moz Local

          Let your business shine with Listings AI

          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
        • 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. 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
        1152
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        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://a-moz.groupbuyseo.org/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

                    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

                    • 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
                    • ryj

                      Should I delete older posts on my site that are lower quality?

                      Hey guys! Thanks in advance for thinking through this with me. You're appreciated! I have 350 pieces of Cornerstone Content that has been a large focus of mine over the last couple years. They're incredibly important to my business. That said, less experienced me did what I thought was best by hiring a freelance writer to create extra content to interlink them and add relevancy to the overall site. Looking back through everything, I am starting to realize that this extra content, which now makes up 1/3 my site, is at about 65%-70% quality AND only gets a total of about 250 visitors per month combined -- for all 384 articles. Rather than spending the next 9 months and investing in a higher quality content creator to revamp them, I am seeing the next best option to remove them. From a pros perspective, do you guys think removing these 384 lower quality articles is my best option and focusing my efforts on a better UX, faster site, and continual upgrading of the 350 pieces of Cornerstone Content? I'm honestly at a point where I am ready to cut my losses, admit my mistakes, and swear to publish nothing but gold moving forward. I'd love to hear how you would approach this situation! Thanks 🙂

                      White Hat / Black Hat SEO | | ryj
                      0
                    • RosemaryB

                      Site Footer Links Used for Keyword Spam

                      I was on the phone with a proposed web relaunch firm for one of my clients listening to them talk about their deep SEO knowledge. I cannot believe that this wouldn’t be considered black-hat or at least very Spammy in which case a client could be in trouble. On this vendor’s site I notice that they stack the footer site map with about 50 links that are basically keywords they are trying to rank for. But here’s the kicker shown by way of example from one of the themes in the footer: 9 footer links:
                      Top PR Firms
                      Best PR Firms
                      Leading PR Firms
                      CyberSecurity PR Firms
                      Cyber Security PR Firms
                      Technology PR Firms
                      PR Firm
                      Government PR Firms
                      Public Sector PR Firms Each link goes to a unique URL that is basically a knock-off of the homepage with a few words or at the most one sentences swapped out to include this footer link keyword phrase, sometimes there is a different title attribute but generally they are a close match to each other. The canonical for each page links back to itself. I simply can’t believe Google doesn’t consider this Spammy. Interested in your view.
                      Rosemary

                      White Hat / Black Hat SEO | | RosemaryB
                      0
                    • BobGW

                      How to make second site in same niche and do white hat SEO

                      Hello, As much as we would like, there's a possibility that our site will never recover from it's Google penalties. Our team has decided to launch a new site in the same niche. What do we need to do so that Google will not mind us having 2 sites in the same niche? (Menu differences, coding differences, content differences, etc.) We won't have duplicate content, but it's hard to make the sites not similar. Thanks

                      White Hat / Black Hat SEO | | BobGW
                      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
                    • PeterConnor

                      A site is using their competitors names in their Meta Keywords and Descriptions

                      I can't imagine this is a White Hat SEO technique, but they don't seem to be punished for it by Google - yet. How does Google treat the use of your competitors names in your meta keywords/descriptions? Is it a good idea?

                      White Hat / Black Hat SEO | | PeterConnor
                      0
                    • MattBarker

                      Site being targeted by hardcore porn links

                      We noticed recently a huge amount of referral traffic coming to a client's site from various hard cord porn sites. One of the sites has become the 4th largest referrer and there are maybe 20 other sites sending traffic. I did a Whois look up on some of the sites and they're all registered to various people & companies, most of them are pretty shady looking. I don't know if the sites have been hacked or are deliberately sending traffic to my client's site, but it's obviously a concern.   The client's site was compromised a few months ago and had a bunch of spam links inserted into the homepage code. Has anyone else seen this before?  Any ideas why someone would do this, what the risks are and how we fix it? All help & suggestions greatly appreciated, many thanks in advance. MB.

                      White Hat / Black Hat SEO | | MattBarker
                      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
                    • 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 - 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.