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.
How do I list the subdomains of a domain?
- 
					
					
					
					
 Hi Mozers, I am trying to find what subdomains are currently active on a particular domain. Is there a way to get a list of this information? The only way I could think of doing it is to run a google search on; site:example.com -site:www.example.com The only issues with this approach is that a majority of the indexed pages exist on the non-www domain and I still have thousands of pages in the results (mainly from the non-www). Is there another way to do it in Google? OR is there a server admin online tool that will tell me this information? Cheers, Dan 
- 
					
					
					
					
 Really?? That's strange - if you PM me the domain, I can do a bit more digging. 
- 
					
					
					
					
 Sadly, although this site is big (over 1000 pages), wolfram alpha doesn't offer the tab that suggests subdomain... I checked it on a number of sites (seomoz, harvard etc ) and it worked well. Any other ideas? Dan 
- 
					
					
					
					
 Thanks again, Running this on my Mac, it allowed me to run NSLookup but when it came to listing the subdomains it advised me that 'ls' was not a valid command. Dan 
- 
					
					
					
					
 - 
Go to Wolfram Alpha 
- 
Enter the domain without any subdomain (ie. wordpress.com) 
- 
In the 3rd result box, top right, push "subdomains." 
- 
When it opens, push "more" (top right of the box) 
 You'll get something like this: 
- 
- 
					
					
					
					
 Yeah, sorry, bit of a basic response! Well, if the server admin took any sort of standard security class then you won't be able to see the file. You could try this method if it hasn't been secured though: http://andywolf.com/list-all-dns-records-from-a-public-domain-with-nslookup/ 
- 
					
					
					
					
 Hi Steven, Thanks for the quick response, what I should have pointed out was that I am currently proposing a Strategy for this site and do not have access to it. Any further thoughts? Dan 
- 
					
					
					
					
 Hi Dan, The way to know for sure is to get a copy of the Start of Authority (SOA) file for the domain. Can you ask your host or server admin for this? 
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
- 
		
		
		
		
		
		When creating a sub-domain, does that sub-domain automatically start with the DA of the main domain?
 We have a website with a high DA and we are considering sub-folder or sub-domain. One of the great benefits of a sub-folder is that we know we get to keep the high DA, is this also the case for sub-domains? Also if you could provide any sources of information that specify this, I can't see to find anything! Intermediate & Advanced SEO | | Saba.Elahi.M.0
- 
		
		
		
		
		
		Is there any significant benefit to creating online directory listings that only provide nofollow links to our domain?
 Is there any significant benefit to creating online directory listings that only provide nofollow links to our domain? For context, whilst doing link gap analysis I've found our competitors are listed on local government directories such as getsurrey.co.uk and miltonkeynes.co.uk. Whilst these aren't seen as spam directories, it's still highly unlikely we'll receive much traffic through them. The links they provide to our domain have the nofollow tag. So I wonder whether there's any other benefit to investing the time in creating these listings? Would be interested to hear your thoughts Many thanks in advance Intermediate & Advanced SEO | | Opera-Care1
- 
		
		
		
		
		
		Backlinks from old domain
 Hi, We have gone through a change of company brand name including a new domain name. Intermediate & Advanced SEO | | Agguk
 We followed google recommendations at: https://support.google.com/webmasters/answer/83106?hl=en and it seems to have worked really well, the new domain has replaced the old in the google search results. My question: Still most of our backlinks, both anchor text and links use the old brand name and domain and it´s a slow process trying to update all references. Although they get redirected fine to the new domain (also following google recommendations), I wonder if the current scenario is doing any harm, SEO wise (other than the missed visual exposure of the new brand name) ? ...since the old brand name is not present at the new site I´m thinking of including "New brand name - previously old brand name" somewhere just to provide some sort of connection to all old backlinks, would that be unnecessary? I should mention that the old brand name actually includes our most important keyword but the new brand name does not. Thanks!0
- 
		
		
		
		
		
		Subdomain replaced domain in Google SERP
 Good morning, This is my first post. I found many Q&As here that mostly answer my question, but just to be sure we do this right I'm hoping the community can take a peak at my thinking below: Problem: We are relevant rank #1 for "custom poker chips" for example. We have this development website on a subdomain (http://dev.chiplab.com). On Saturday our live 'chiplab.com' main domain was replaced by 'dev.chiplab.com' in the SERP. Expected Cause: We did not add NOFOLLOW to the header tag. We also did not DISALLOW the subdomain in the robots.txt. We could have also put the 'dev.chiplab.com' subdomain behind a password wall. Solution: Add NOFOLLOW header, update robots.txt on subdomain and disallow crawl/index. Question: If we remove the subdomain from Google using WMT, will this drop us completely from the SERP? In other words, we would ideally like our root chiplab.com domain to replace the subdomain to get us back to where we were before Saturday. If the removal tool in WMT just removes the link completely, then is the only solution to wait until the site is recrawled and reindexed and hope the root chiplab.com domain ranks in place of the subdomain again? Thank you for your time, Chase Intermediate & Advanced SEO | | chiplab0
- 
		
		
		
		
		
		XML Sitemap on another domain
 Hi, We've rebuilt our website and created a better sitemap index structure. There's a good chance that we not be able to append the XML files to existing site for technical reasons (don't get me started). I'm reaching out because I'm wondering if can we place the XML files on another website or subdomain? I know this is not best practice and probably very grey but I'm looking for alternatives. If there answer is DON'T DO IT let me know too. Thx Intermediate & Advanced SEO | | WMCA0
- 
		
		
		
		
		
		How to add subdomains to webmaster tools?
 Can anyone help with how I add a sub domain to webmaster tools? Also do I need to create a seperate sitemap for each sub domain? Any help appreciated! Intermediate & Advanced SEO | | SamCUK1
- 
		
		
		
		
		
		Domain Alias SEO
 We have 5 domain alias of our existing sites Intermediate & Advanced SEO | | unibiz
 All 5 domain alias are domain alias of our main site. It means, all domain alias will have exactly same site and contents
 Like Main domain: www.mywebsite.com
 DomainAlias: www.myproduct.com, www.myproduct2.com, www.myproduc3.com
 And if anybody will open our site www.myproduct.com, it will open same website which I have in primary site what can i do to rank all website without any penalty....i s there any way? This is domain alias of in hosting industry Thanks0
- 
		
		
		
		
		
		Subdomain for every us state?
 Hi, one of our clients has an idea of making subdomains from his main website to sell his online advertisements in all states in USA. f.e: texas.web.com atlanta.web.com He wants to have a subdomain for every state and there to be information related only or mainly to this state? I am not sure about is this a good idea? What is your opinion about it? Intermediate & Advanced SEO | | vladokan0
 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				