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
-
Http & https domain names
We currently have a site which we found SEM Rush to show that their were duplicate pages for the site. Upon further inspection we realized this was because there existed both http:// and https:// Versions of the site. Is this a problem for Google that the site appears for both http:// and https:// and that there are therefore duplicate versions of the site?
Intermediate & Advanced SEO | | Gavo0 -
301 Redirecting Multiple Domains
I have several complete websites with blogs setup for different geo locations and was considering forwarding them all to one domain directly would greatly benefit ranking. The blogs are all linked together and that is where most of the links come from. Would I benefit in 301 Redirecting the domains?
Intermediate & Advanced SEO | | WindshieldGuy-2762210 -
Age of a re-directed domain same as age of a static domain?
I know domain age plays a role in SEO--but, I am wondering if a domain is set up to 301 re-direct to another domain if it builds the same amount of authority over time as the static domain--just looking at age as a ranking factor, not links accumulated over time.
Intermediate & Advanced SEO | | nicole.healthline0 -
Is a .co.uk domain better?
Hi I have www.example.net however trying to judge if it is better having www.example**.**co.uk instead (as it will be targeted for UK people). I could use Webmaster tool to geographically target UK - however perhaps best to use a .co.uk domain instead. Any views on using a .net ending domain? Many thanks Nigel
Intermediate & Advanced SEO | | Richard5550 -
Tips to Merge Two Domains?
Hi all, my client assigned me to merge both their two domains. To cut the long story, at the moment they have, for example, domain1.com and domain2.com. Practically, they sell quite the same products but with different content and layout. This has been happening for several years: domain1.com came first then domain2.com a couple of months after. They noticed that domain2.com has now more traffic than domain1.com. Another reason is they want to use one placeholder to avoid brand confusion (as expected because the products are actually the same). So, they are planning to merge the brand into domain2.com. I think this is just the same as moving domain, isn't it? I have been preparing all things as per SEOmoz SEO Guide: How to Properly Move Domains and Google's moving your site . Do you have any other tips to include? I want to make sure that the domain moving will be successful and the link juice on domain1.com can be transferred to domain2.com . Many thanks for your help! 🙂
Intermediate & Advanced SEO | | Ci3reR0 -
Virtual Domains and Duplicate Content
So I work for an organization that uses virtual domains. Basically, we have all our sites on one domain and then these sites can also be shown at a different URL. Example: sub.agencysite.com/store sub.brandsite.com/store Now the problem comes up often when we move the site to a brand's URL versus hosting the site on our URL, we end up with duplicate content. Now for god knows what damn reason, I currently cannot get my dev team to implement 301's but they will implement 302's. (Dont ask) I also am left with not being able to change the robots.txt file for our site. They say if we allowed people to go in a change this stuff it would be too messy and somebody would accidentally block a site that was not supposed to be blocked on our domain. (We are apparently incapable toddlers) Now I have an old site, sub.agencysite.com/store ranking for my terms while the new site is not showing up. So I am left with this question: If I want to get the new site ranking what is the best methodology? I am thinking of doing a 1:1 mapping of all pages and set up 302 redirects from the old to the new and then making the canonical tags on the old to reflect the new. My only thing here is how will Google actually view this setup? I mean on one hand I am saying
Intermediate & Advanced SEO | | DRSearchEngOpt
"Hey, Googs, this is just a temp thing." and on the other I am saying "Hey, Googs, give all the weight to this page, got it? Graci!" So with my limited abilities, can anybody provide me a best case scenario?0 -
De-listed? What happened? No rankings??
Was ranking on first page for over 80 terms with over 25 in the top 3 and my main keyword was ranked #4...now my twitter account has replaced my website for #4 in the rankings for the main keyword. I now have ZERO Rankings for all keywords for my website. I have no idea what happened. ** Is there anyway for me to check with Google to see why I have been wiped off the map in the search rankings? ** Boo
Intermediate & Advanced SEO | | Boodreaux0 -
Subdomains and SEO - Should we redirect to subfolder?
A new client has mainsite.com and a large numer of city specific sub domains i.e. albany.mainsite.com. I think that these subdomains would actually work better as subfolders i.e mainsite.com/albany rather than albany.mainsite.com. The majority of links on the subdomains link to the main site anyway i.e. mainsite.com/contactus rather than albany.mainsite.com/contactus. Having mostly main domain links on a subdomain doesnt seem like clever link architecture to me and maybe even spammy. Im not overly familiar with redirecting subdomains to subfolders. If we go the route of 301'ing subdomains to subfolders any advice/warnings?
Intermediate & Advanced SEO | | AndyMacLean0