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
-
When domain a buys domain b (whose links direct to c), does domain a has links redirecting to domain c ?
Hi, I really need to know what happens when a company or domain (a) acquires another company with domain (b) with its links pointing to yet another location (c). Does company a then have redirects to c?
Intermediate & Advanced SEO | | Yeshourun0 -
Do I need to worry about sub-domains?
Hi Moz commnity, Our website ranking was good and dropped for couple of recent months. We have around 10 sub-domains. I doubt them if they are hurting us. Being said all over in SEO industry like the sub-domains are completely different websites; will they hurt if they are not well optimised? And we have many links from our sub-domains to website top pages, is this wrong for Google? How to well maintain the sub-domains? Do I need to worry about them? Thanks
Intermediate & Advanced SEO | | vtmoz0 -
High Quality Domains and what to do with them
Hi, I rus a travel photography business. The primary function of the website is to sell prints, though I blog about my travels on the same domain name as well as a few pieces of content that are helpful to users interested in some of the places I travel to. I do okay with it, but obviously, I am always looking for a way to increase visibility and sales of prints. I own a couple of high quality keyword domain names, that I've been trying to figure out what to do with. One of which is for a city that my prints of my photography are probably best known for. The domains I'm really trying to decide what to do with are basically a www.citystatephotography.com and www.citystatephotos.com, where the city and state are the ones I'm targeting. The question is, what do I do with it? I've seen various ideas from other photographers that have various levels of success. Here are the options I'm considering: Just redirect it to the photo gallery of photos that I'm trying to rank highly for. From what I read on various blogs, this doesn't really do much of anything, but maybe I've read wrong? Create a website or microsite with some quality content related to the city that also links back to my photography website on various places and possibly once in the navigation. I do have quality content I could put up that would be helpful to people from the city besides just trying to get sales. But there's always a chance this will cannibalize my original domain without helping sales, I assume? Spam my photo galleries across two domains. Most of my photography galleries would stay on my main domain that I already run, but the photo galleries that are key to that city would be hosted on that citystatephotography.com domain name. I've seen a photographer from Colorado do quite well with this method. (www.imagesofrmnp.com and www.morninglight.us) He's heavily known for his images of Rocky Mountain National Park and that seems to be his main brand, but all of his non-RMNP travel photography goes on the other site. The two sites look almost identical, though they link back and forth fairly extensively. There doesn't seem to be much in the way of duplicate content either. I've considered this method, but I'm nervous I'll kill what I've already built up if this were to fail. Do nothing with the domains. Seems wasteful, as these domains, particularly the citystatephotography.com domain seems useful in some way. Any thoughts? Thanks in advance!
Intermediate & Advanced SEO | | shannmg10 -
Community inside the domain or in a separate domain
Hi there, I work for an ecommerce company as an online marketing consultant. They make kitchenware, microware and so on. The are reviewing their overall strategy and as such they want to build up a community. Ideally, they would want to have the community in a separate domain. This domain wouldn't have the logo of the brand. This community wouldn't promote the brand itself. The brand would post content occassionally and link the store domain. The reasoning of this approach is to not interfere in the way of the community users and also the fact that the branded traffic acquired doesn't end up buying at the store I like this approach but I am concerned because the brand is not that big to have two domains separated and lose all the authority associated with one strong domain. I would definitely have everything under the same domain, store and community, otherwise we would have to acquire traffic for two domains. 1. What do you think of both scenarios, one domain versus two? Which one is better? 2. Do you know any examples of ecommerce companies with successful communities within the store domain? Thanks and regards
Intermediate & Advanced SEO | | footd0 -
Sub-domain or new domain for new location
I have a small law firm in Dallas, TX. I will be moving to Austin, TX in the next 2 years. My website is doing great here in Dallas, but I have focused on keyword phrases that include the word "Dallas." I would like to leave my current website as is and maintain a Dallas office to keep the business flowing from this website. I am trying to determine the best way to get Austin business from a 2nd website. I know I will need new content that includes the use of the word "Austin". My question is: Should I put the new content on (1) a subdomain (i.e. austin.copplaw.com) or (2) a new domain (i.e. copplawfirm.com). I really want to be a player for the google local search results in both cities. I can use a different name for my law firm in Austin, if necessary. Any advice would be greatly appreciated! Regards, Zac
Intermediate & Advanced SEO | | seozac0 -
Subdomains
HI there We have the following situation: www.client.com/home at /home we will have a iframe calling a subdomain data.client.com . We need to use this structure because the server structure our client have. Is there any way i can index just www.client.com/home instead the subdomain, but include the data from the iframe to be indexed ? saying that because if google shows up the subdomain page on the search results, it will not bring anything as we need /home to the iframe/subdomain to work. So, google should just index /home and the data from the subdomain, but not the subdomain itself. Does it make sense? If not, any recommendation how it should be setup? Appreciate any help.
Intermediate & Advanced SEO | | Santini0 -
Block an entire subdomain with robots.txt?
Is it possible to block an entire subdomain with robots.txt? I write for a blog that has their root domain as well as a subdomain pointing to the exact same IP. Getting rid of the option is not an option so I'd like to explore other options to avoid duplicate content. Any ideas?
Intermediate & Advanced SEO | | kylesuss12 -
Would switching domain names be a good move?
Hi All, I'm trying to decide whether to switch to a more relevant domain name for an SEO project. For a while now I've already been doing the standard SEO work on an existing website, content optimization, link building etc but I can't help feeling I won't ever get the full benefits of SEO until I also change the domain name. The current website is for a law firm in new jersey called sandz.net which obviously has no immediate impression it is for a law firm so I'm looking at setting up a new domain and doing 301s to a new site. My concerns are that as its a highly competitive market, I've initiated the campaign to target local searches so I'm wondering just how beneficial buying a domain name with the term lawyer or attorney which actually be. And of course the ideal domain names such as njlawyer, NJattorney .COMs are all taken so I would be looking at perhaps a .ORG with the intention that all printed material the firm has still contains their original name, sandz.net and by word of mouth they should tell people their site is sandz.net as its easy to remember but for the sake of SEO and links then these should all be focused on a new domain.. Any thoughts appreciated.. Thanks
Intermediate & Advanced SEO | | davebrown19750