undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Intermediate & Advanced SEO
  4. How do I list the subdomains of a domain?

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?

Intermediate & Advanced SEO
3
8
18.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • djlaidler
    djlaidler last edited by Mar 26, 2013, 8:34 PM

    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

    1 Reply Last reply Reply Quote 0
    • MattAntonino
      MattAntonino @djlaidler last edited by Mar 26, 2013, 10:08 PM Mar 26, 2013, 10:08 PM

      Really??  That's strange - if you PM me the domain, I can do a bit more digging.

      1 Reply Last reply Reply Quote 1
      • djlaidler
        djlaidler @MattAntonino last edited by Mar 26, 2013, 9:41 PM Mar 26, 2013, 9:41 PM

        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

        MattAntonino 1 Reply Last reply Mar 26, 2013, 10:08 PM Reply Quote 0
        • djlaidler
          djlaidler @StevenHowe last edited by Mar 26, 2013, 9:40 PM Mar 26, 2013, 9:40 PM

          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

          1 Reply Last reply Reply Quote 0
          • MattAntonino
            MattAntonino last edited by Mar 26, 2013, 10:20 PM Mar 26, 2013, 9:12 PM

            1. Go to Wolfram Alpha

            2. Enter the domain without any subdomain (ie. wordpress.com)

            3. In the 3rd result box, top right, push "subdomains."

            4. When it opens, push "more" (top right of the box)

            You'll get something like this:

            http://bit.ly/XaJ7o3

            djlaidler 1 Reply Last reply Mar 26, 2013, 9:41 PM Reply Quote 2
            • StevenHowe
              StevenHowe @djlaidler last edited by Mar 26, 2013, 10:20 PM Mar 26, 2013, 9:01 PM

              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/

              djlaidler 1 Reply Last reply Mar 26, 2013, 9:40 PM Reply Quote 1
              • djlaidler
                djlaidler @StevenHowe last edited by Mar 26, 2013, 8:46 PM Mar 26, 2013, 8:46 PM

                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

                StevenHowe 1 Reply Last reply Mar 26, 2013, 9:01 PM Reply Quote 0
                • StevenHowe
                  StevenHowe last edited by Mar 26, 2013, 8:43 PM Mar 26, 2013, 8:43 PM

                  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?

                  djlaidler 1 Reply Last reply Mar 26, 2013, 8:46 PM Reply Quote 0
                  • 1 / 1
                  1 out of 8
                  • First post
                    1/8
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  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.

                  • See all categories

                  Related Questions

                  • Saba.Elahi.M.

                    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 | Feb 23, 2020, 9:27 PM | Saba.Elahi.M.
                    0
                  • ims2016

                    Should I run my Shopify store on a subdomain or buy a new domain for it?

                    I'm planning to set up a subdomain for my Shopify store but I'm not sure if this is the right approach. Should I purchase a separate domain for it? I'm running Wordpress on my website and want to keep it that way. I want to use Shopify for the ecommerce side. I want to link the store from the top nav and of course I'll use CTA's in a variety of ways to point to merchandise and other things on the store side.   Thanks for any help you can offer.

                    Intermediate & Advanced SEO | Mar 28, 2017, 3:50 PM | ims2016
                    0
                  • IsaCleanse

                    Redirect domain or keep separate domains in each country?

                    Hi all Hoping this might be something that can be answered given the number of variables 🙂 
                    My main site is www.isacleanse.com.au (Obviously targeted to Australian Market) and also www.isacleanse.co.nz targeted to NZ. The main Keywords im targeting are 'Isagenix' for both and also Isagenix Australia, Isagenix Perth, Sydney (Australian cities) and Isagenix NZ, Isagenix New Zealand, Isagenix Auckland etc.. for NZ The Australian site gets a lot more traffic and Australian market gets a lot more searches - I also have a section www.isacleanse.com.au/isagenix-new-zealand/ on the Australian site. The question is am I best off redirrecting the .co.nz domain completley to the Australian Domain to give it extra SEO Juice?

                    Intermediate & Advanced SEO | May 15, 2015, 11:25 AM | IsaCleanse
                    0
                  • pnb567

                    Is .ME domain is effective in SEO ?

                    I am always listening about TLD. com. org .net but what about the .me domain. Can this will be effective in SEO. Can i able to beat down my competitors, if i choose .me . I also have a .com or other TLD option but if i am making my name than .me is for me but i need your suggestion for the seo purpose. Is there really domain affective in term of SEO.

                    Intermediate & Advanced SEO | Jun 11, 2014, 12:29 PM | pnb567
                    0
                  • webbmason

                    Domain Forwarding - SEO Impacts?

                    I have a site that has been active for years - thinkbiglearnsmart.com. Awhile ago I had purchased about 50 domain names that were relevant to my company. I still have those urls and would like to use them to point to different pages on my site - just because they have good key words in the URLs. For example - one is dreamweavertrainingclassesonlinelive.com.  Currently they are all redirecting to my homepage. A. is that hurting me? B. I would like to redirect to the more relevant page. ie the page dedicated to Dreamweaver training (http://thinkbiglearnsmart.com/dreamweaver-creative-cloud-training-course/ ) Will this hurt my Dreamweaver keyword for example because there is already a 301 redirect on that page from a very old Dreamweaver link which was something like thinkbiglearnsmart.com/dreamweaver C. On my hosting account where I can select where the URL forwards to - it has an option for "Location forwarding" and "Frame forwarding" - currently they are set to Frame forwarding - which one is best? Any help is much appreciated!!! Thank you!

                    Intermediate & Advanced SEO | Apr 24, 2014, 2:14 PM | webbmason
                    0
                  • SMG-Texas

                    301 Redirect of subdomain?

                    Fellow Mozzers, I'm having a hard time wrapping my brain around a redirect issue and thought it was worth posing the question to the Moz community.  I did a search first but couldn't find the exact answer I was looking for. How does a 301 redirect work when you redirect a sub domain example.homepage.com to www.homepage.com but you keep the sub directories of example.homepage.com/page-1 active and are trying to rank them?  I'm dealing with a current project where this is happening and this doesn't make sense to me, to redirect the subdomain if you're also trying to rank/create search traffic for pages, sub directories on example.homepage.com. This also get's into the debate of if a sub domain site is viewed as it's own website and therefore has to rank itself.  If this is true, it seems like we're kind of killing the authority of the site by redirecting it. Additionally, www.homepage.com has a much stronger link profile than example.homepage.com I hope this makes sense.  Any thoughts are appreciated.  Thanks for your time.

                    Intermediate & Advanced SEO | Jan 10, 2014, 2:43 AM | SMG-Texas
                    0
                  • BrandLabs

                    Redirect old .net domain to new .com domain

                    I have a quick question that I think I know the answer to but I wanted to get some feedback to make sure or see if there's additional feedback. The long and short of it is that I'm working with a site that currently has a .net domain that they've been running for 6 years. They've recently bought a .com of the same name as well. So the question is: I think it's obviously preferable to keep the .net and just direct the .com to it. However, if they would prefer to have the .com domain, is 301'ing the .net to the .com going to lose a lot of the equity they've built up in the site over the past  years? And are there any steps that would make such a move easier? Also, if you have any tips or insight just into a general transition of this nature it would be much appreciated. Thanks!

                    Intermediate & Advanced SEO | Apr 16, 2013, 3:35 PM | BrandLabs
                    0
                  • julienraby

                    Redirect a subdomain to a subdirectory for SEO purposes.

                    Hi, I have a site on wordpress and I want to add eCommerce to it. We want to go with Shopify but Shopify only allows to host their platform on a subdomain. I like to have it on a subdorectory, so my question is: Would it make sense to redirect the whole subdomain to a subdirectory (move everything from shop.domain.com to domain.com/shop) for SEO purposes? Would Google see these pages as if they were part of the main domain? Thanks! Julien

                    Intermediate & Advanced SEO | Oct 10, 2011, 1:17 PM | julienraby
                    0

                  Get started with Moz Pro!

                  Unlock the power of advanced SEO tools and data-driven insights.

                  Start my free trial
                  Products
                  • Moz Pro
                  • Moz Local
                  • Moz API
                  • Moz Data
                  • STAT
                  • Product Updates
                  Moz Solutions
                  • SMB Solutions
                  • Agency Solutions
                  • Enterprise Solutions
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority Checker
                  • Local Citation Checker
                  • MozBar Extension
                  • MozCast
                  Resources
                  • Blog
                  • SEO Learning Center
                  • Help Hub
                  • Beginner's Guide to SEO
                  • How-to Guides
                  • Moz Academy
                  • API Docs
                  About Moz
                  • About
                  • Team
                  • Careers
                  • Contact
                  Why Moz
                  • Case Studies
                  • Testimonials
                  Get Involved
                  • Become an Affiliate
                  • MozCon
                  • Webinars
                  • Practical Marketer Series
                  • MozPod
                  Connect with us

                  Contact the Help team

                  Join our newsletter
                  Moz logo
                  © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy

                  Looks like your connection to Moz was lost, please wait while we try to reconnect.