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
- 
					
					
					
					
 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!
- 
					
					
					
					
 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. 
- 
					
					
					
					
 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.
- 
					
					
					
					
 So does this work better because Google will not show an IP address in search results? 
- 
					
					
					
					
 You need to point your cname to the ip of the server that hosts your sales.domain.com don't Do sales.domain.com > 123.123.123.123 where 123.123.123.123 is the ip of the hosting webserver. 
- 
					
					
					
					
 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 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		What is the best strategy to SEO Discontinued Products on Ecommerce Sites?
 RebelsMarket.com is a marketplace for alternative fashion. We have hundreds of sellers who have listed thousands of products. Over 90% of the items do not generate any sales; and about 40% of the products have been on the website for over 3+ years. We want to cleanup the catalog and remove all the old listings that older than 2years that do not generate any sales. What is the best practice for removing thousands of listings an Ecommerce site? do we 404 these products and show similar items? Your help and thoughts is much appreciated. White Hat / Black Hat SEO | | JimJ3
- 
		
		
		
		
		
		My indexed site URL removed from google search without get any message or Manual Actions???
 On Agust 2 or 3.. I'm not sure about the exact date... White Hat / Black Hat SEO | | newwaves
 The main URL of my website https://new-waves.net/ had been completely removed from Google search results! without getting any messages or Manual Actions on search console ?? but I'm still can find some of my site subpages in search results and on Google local maps results when I tried to check it on google
 info:new-waves.net >> no results
 site:new-waves.net >> only now I can see the main URL in results because I had submitted it again and again to google but it might be deleted again today or tomorrow as that happen before last few days
 100% of all ranked keywords >> my site URL new-waves.net had been completely removed from all results! but I'm still can see it on maps on some results I never get any penalties to my site on Google search console. I noticed some drops on some keywords before that happens (in June and July) but it all of it was related to web design keywords for local Qatar, but all other keywords that related to SEO and digital marketing were not have any changes and been on top My site was ranked number 1 on google search results for "digital marketing qatar" and some other keywords, but the main URL had been removed from 100% of all search results. but you can still see it on the map only. I just tried to submit it again to Google and to index it through google search console tool but still not get any results, Recently, based on google console, I found some new links but I have no idea how it been added to links of my website:
 essay-writing-hub.com - 9,710
 tiverton-market.co.uk - 252
 facianohaircare.com - 48
 prothemes.biz - 44
 worldone.pw - 2
 slashdot.org - 1
 onwebmarketing.com - 1 the problem is that all my high PR real links deleted from google console as well although it still have my site link and it could be recognized by MOZ and other sites! Can any one help to know what is the reason?? and how can I solve this issue without losing my previous ranked keywords? Can I submit a direct message to google support or customer service to know the reason or get help on this issue? Thanks & Regards0
- 
		
		
		
		
		
		Moz was unable to crawl your site? Redirect Loop issue
 Moz was unable to crawl your site on Jul 25, 2017. I am getting this message for my site: It says "unable to access your homepage due to a redirect loop. https://kuzyklaw.com/ Site is working fine and last crawled on 22nd July. I am not sure why this issue is coming. When I checked the website in Chrome extension it saysThe server has previously indicated this domain should always be accessed via HTTPS (HSTS Protocol). Chrome has cached this internally, and did not connect to any server for this redirect. Chrome reports this redirect as a "307 Internal Redirect" however this probably would have been a "301 Permanent redirect" originally. You can verify this by clearing your browser cache and visiting the original URL again. Not sure if this is actual issue, This is migrated on Https just 5 days ago so may be it will resolved automatically. Not sure, can anybody from Moz team help me with this? White Hat / Black Hat SEO | | CustomCreatives0
- 
		
		
		
		
		
		Best URL structure for SEO for Malaysian/Singapore site on .com.au domain
 Hi there I know ideally i need a .my or .sg domain, however i dont have time to do this in the interim so what would be the best way to host Malaysian content on a www.domainname.com.au website? www.domainname.com.au/en-MY White Hat / Black Hat SEO | | IsaCleanse
 www.domainname.com.au/MY
 domainname.com.au/malaysia
 malaysia.domainname.com.au
 my.domainname.com.au Im assuming this cant make the .com.au site look spammy but thought I'd ask just to be safe? Thanks in advance! 🙂0
- 
		
		
		
		
		
		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 | | andzon0
- 
		
		
		
		
		
		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/ White Hat / Black Hat SEO | | crescentdigital
 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 Steve0
- 
		
		
		
		
		
		Would linking out to a gambling/casino site, harm my site and the other sites it links out to?
 I have been emailed asking if I sell links on one of my sites. The person wants to link out to slotsofvegas[dot]com or similar. Should I be concerned about linking out to this and does it reduce the link value to any of the other sites that the site links out to? Thanks, Mark White Hat / Black Hat SEO | | Markus1111
 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				