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 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.
Related Questions
-
Geo-target .ag domain?
Hi Guys, We are looking to purchase a .ag domain for a agriculture website, we want to target two countries Australia (primary) and United States. So the main site e.g. www.farming.ag (will target Australia) While the www.farming.ag/us/ sub-folder will target the United States From my understanding through after reading this: https://www.name.com/domains/ag .ag is for countries Antigua and Barbuda. So i was wondering can you even geo-target to Aus or even the sub-folder to United States in search console? Any advice would be very much appreciated! Cheers.
Intermediate & Advanced SEO | | bridhard80 -
Launching Brand New Subdomain To Outrank & Outperform Main Domain
Fellow Mozzers! I have a tricky problem that may or may not have a viable solution. It's one that our team are 100% pressing ahead with regardless & I wanted to canvass some opinion on what options I have. We have the Main Company Site which has been going for +15 years, has a DA of 58 and 63,000 links pointing at it. It currently ranks on page 1 for a number of our important keywords. However.... We are now launching a Subdomain, which will be something like marketing.maincompanysite.com which we now want to drive a lot more of our traffic to. In particular for items like new customer acquisition, product discovery etc. In fact we would actually rather the subdomain outrank our main site for branded queries. However the Main Site is still important for existing customers who login to our product and we don't want to do anything that will destabilize it's rankings too much. My questions are: Are there any strategies I can use to get a subdomain (with no links or history) outranking the main site in position 1 on Google? Main site should still rank in position 2! Any other tips to actively take legacy traffic from a main site onto a subdomain seamlessly. Should we just be 301 redirecting unnecessary pages on the old site to new and improved pages on the subdomain? There will still be a 100,000+ pages on the main site, lots of authority and traffic going through it. It's not becoming redundant. Thanks so much guys - hopefully I've explained that okay!!
Intermediate & Advanced SEO | | MattStott40 -
Page Authority inherited by domain
Hi there, We (blog.fust.ch) created our blog at the same time as (blog.interdiscount.ch). We're both blogs of big brands in switzerland. But there is one big different. The interdiscount blog ranks much better than we do. But they not even optimize the blog for standard SEO points. Now i found the reason i guess. They get the complete page authority of the brand interdiscount.ch inherited. How is that possible, because we don't..? (Screens in attachment) Best regards Sandro K7zxz ndODO
Intermediate & Advanced SEO | | Sandro_Haag0 -
Blog - subdomain vs. subfolderq
Hi everyone I work on an ecommerce site and I'm trying to get more content together for the site & blog. The development team want to put the blog we have on a subdomain of our site, my question is - what is better for SEO Subfolder vs. subdomain I've read a couple of articles to say subfolder is better and a subdomain needs a lot of management to build up authority itself? Thanks!
Intermediate & Advanced SEO | | BeckyKey0 -
Google displaying a content box above the listing link for top ranking listing in SERPs
Hi, In the attached Google SERP example the first listing below the paid search ads has a large box with a snippet of content from the relevant page then followed by the standard link. Does anyone know how you get Google to display a box like this in their SERPs? I checked the code on the page and there doesn't appear to be anything special about it such as any schema markup. It uses standard list code. Does this only appear for particular types of content or sites, such as medical content in this case? Is the content more likely to appear for lists? Does it only appear for high authority sites that Google has selected? We have a similar medical information based site and it would be great to try to get Google to display a similar box of content for some of our pages. Thanks. Damien ZmPJVSl.png
Intermediate & Advanced SEO | | james.harris0 -
Local and Organic Listings
Hi, My client has a number of stores across the country (UK) and ideally I would like them to appear in both the local and organic listings - at the moment I appear more often than not on page one for one or the other - I have noticed however that some pages appear in both. I understand that Google will not place a listing for the same page in both local and organic so I need to optimise a page on the site for organic and point my local listing to a different page (home page?). On some results though I am seeing my local result appearing with the home page URL listed but the actual link points to the internal store page which is the same page that is appearing in the organic listing (both on page one). Other local listings of mine appear with the store page URL showing in the result. I haven't set anything up differently for these stores. Can anyone explain why this is happening? Thanks, Dan
Intermediate & Advanced SEO | | SEOBirmingham810 -
Issues with Sub domains for dealers
I'm starting a new SEO project and am feeling a little overwhelmed due to the scale of it. I am not sure where to start and hope that someone has some ideas. Thousands of dealer websites reside as sub domains on gravelymower.com/ (e.g. http://quality-mowers.gravelymower.com/) The particular sub domain mentioned above is not showing up at all for any searches and is not cached by Google: http://webcache.googleusercontent.com/search?q=cache:http://quality-mowers.gravelymower.com/ I realize that pretty much zero SEO best practices are followed on page and the location is not on the page, but why is this sub domain not even being indexed by Google? Any help is appreciated. Thanks!
Intermediate & Advanced SEO | | BridgelineDigital880 -
Different Geographies - New Domain or Subdomain?
I have a site that is successful on the SERPs for a certain geography, let's call it City A (I'm sure you can't tell what it is from my username). I'm moving to a new city in another state so I will be building my business in this area (City B). Should I create a new domain for City B with CityBWebsiteDesign.com or should I create a sub-domain called CityB.BrandableCompanyName.com and just redirect CityBWebsiteDesign.com to the URL for offline marketing purposes only? My current website BrandableCompanyName.com has some authority with Google. Will it be better to building something on the sub-domain and get any sort of cross-benefits or are there really no benefits to be had between sub-domains? The benefit of going with CityBWebsiteDesign.com would be having a keyword rich URL but I would basically be starting from zero with building authority. Specific experience you've had with this or cited examples would be great for the discussion! Thanks,
Intermediate & Advanced SEO | | JaredDetroit
Jared0