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
-
Redirection of 100 domain to Main domain affects SEO?
Hi guys, An email software vendor managed by a different area of my company redirected 100 domains used for unsolicited email campaigns to my main domain. These domains are very likely to get blacklisted at some point. My SEO tool now is showing me all those domains as "linking" to my main site as do-follow links. The vendor states that this will not affect my main domain/website in any way. I'm highly concerned. I would appreciate your professional opinion about this. Thanks!!
Intermediate & Advanced SEO | | anagentile0 -
Botched domain migration
tldr: we consolidated several of our domains from longdomain.com to domain.com over a year ago and lost our highest value keywords, roughly 70% of our traffic. All our links were natural google loved our site up until that point. Things started to go sideways then... Oct 2016: 301 redirect everything from http(s)://(www).longdomain.com/* to https://www.domain.com/*, traffic starts to slump Jan 2017: Traffic has slumped 30-40% from normal seasonal levels Apr 2017: We experiment with Rankscience, implementation is botched creating a robots.txt disallow: / which is corrected in a week. traffic slumps even more during this period, but this issue seems to recover over the next month or two (hard to tell since now we have multiple factors and seasonal traffic). Oct 2017: Start an engagement with a seo firm that has experience with migration issues. They find some pages which are not redirecting and claimed that google is confused by that and pages we were redirecting wouldnt pass all the pr value until every page on our old site (including non public ones that google seems to have scraped from emails) was redirected over. Interm: Site audits from the seo form, many minor onsite improvements, link disvow, etc etc, no impact really. Current day: Stumped, and the business is hurting from the lost rankings and cost of seo. Those high value rankings are just gone and I did everything by the book as best I know. Redirects, same content, just punished. Up until the interacting with Rankscience and the seo firm, I handled all the serp related concerns myself. This has left me pretty disillusioned and at my wits end on where to look next.
Intermediate & Advanced SEO | | sonar0 -
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 -
Subdomain or subfolder for each country
Hi all I have a great .com domain but the cctlds are not available so I plan on using the .com for all the countries and languages. What is the best approach for SEO: subdomains like wikipedia does (de.greatdomain.com) or subfolders (greatdomain.com/de)? I know this question comes up frequently on other websites but I would like to hear the Moz forum.
Intermediate & Advanced SEO | | AndersDK0 -
Using pictures from another domain
We are building several sites for several clients which will be using images from the manufacturer. Our dev team wants to insert the manufacturer's url for the images, instead of actually downloading the image and hosting on our server. There are thousands of images, so downloading images to our server will be time consuming, so we are looking for a shortcut.... however I'm concerned this will cause other issues. Is using manufactueresdomain.com/12345.jpg going to cause SEO issues? will this generate Google penalties? Since we are not able to control the image file name, we cannot optimize it. We will add Alt text and Title tag for each image, but the file name is random characters. How important is the file name for SEO?
Intermediate & Advanced SEO | | Branden_S0 -
Primary Domain or Redirect?
We are starting a new travel guide for a resort town. I have bought an expired domain with decent related links and PR (which seems to have survived the transfer (4 months ago). Beofre we launch the new site I am trying to decide if we should use this expired domain as the primary URL for the new site or just do a permanent redirect and buy a new domain that better matches the theme of the site. I am obviously concerned with starting from scatch with a new domain. I am confident we can build some good rellevant links in a short time but this space is very competetive. Any input would be greatly appreciated.
Intermediate & Advanced SEO | | Locals0 -
Redirect gateway domain to main domain?
We have following scenario: Our main website - www.esedirect.co.uk which gets a 1800 visits a day with around half of those from organic search. It's been around since 2004. Our original website - www.ese.co.uk which gets around 30 visits a day and really is nothing more than a doorway page with links to the above site and couple of other sites that belong to the same company. This is an old domain that's had content since 1997 and has good domain authority with some good links. We are considering doing a 301 redirect from www.ese.co.co.uk to www.esedirect.co.uk to redirect the link juice. I welcome opinions to any possible negative effects this could give and how beneficial doing this will be. Thanks, Lee
Intermediate & Advanced SEO | | ese0 -
Consolidating 3 regional domains
We recently took the decision to consolidate 3 domains for .com.au, .eu and .us. This decision was made before I arrived here and I'm not sure it's the right call. The proposal is to use a brand new .co (not .com isn't available) domain. The main reason is in terms of trying to build domain strength towards one domain instead or trying to grow 3 domains. We re-sell stock simlar to hotel rooms (different industry) and our site is heavily search based. So duplicate content is an issue that we hope improve on with this approach. One driver was we found for example that our Autralian site was outranking out european site in european searches. We don't want to only hold certain inventory on certain sites either because this doesn't work with our business rules. Anyway if we are to go about this, what would be the best practise in terms of going about this. Should we suddenly just close one of the domain and to a * 301 redirect or should we redirect each page individually? Someone has proposed using robots text to use a phased approach, but to my knowledge this isn't possible with robots.txt, thought a phased individual page 301 using htaccess may be possible? In terms of SEO is 1 domain generally better that 3? Is this a good strategy? What's the best 301 approach? Any other advice? Thanks J
Intermediate & Advanced SEO | | Solas0