The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. How do I list the subdomains of a domain?

    How do I list the subdomains of a domain?

    Intermediate & Advanced SEO
    8 3 17.6k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • djlaidler
      djlaidler last edited by

      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
      • StevenHowe
        StevenHowe last edited by

        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 Reply Quote 0
        • djlaidler
          djlaidler @StevenHowe last edited by

          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 Reply Quote 0
          • StevenHowe
            StevenHowe @djlaidler last edited by

            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 Reply Quote 1
            • MattAntonino
              MattAntonino last edited by

              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 Reply Quote 2
              • djlaidler
                djlaidler @StevenHowe last edited by

                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
                • djlaidler
                  djlaidler @MattAntonino last edited by

                  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 Reply Quote 0
                  • MattAntonino
                    MattAntonino @djlaidler last edited by

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

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    • Hundreds of Subdomains under a powerful domain
                      0
                      1
                      60

                    • 301 Redirecting from domain to subdomain
                      Chris8198
                      Chris8198
                      0
                      3
                      217

                    • Choosing root domain for a subdomain
                      OlegKorneitchouk
                      OlegKorneitchouk
                      0
                      2
                      57

                    • Client wants a seperate .tv domain for their media/videos instead of a subdomain/subfolder. What is the best way to pass of link equity to a new domain?
                      RosemaryB
                      RosemaryB
                      0
                      7
                      136

                    • Microsites: Subdomain vs own domains
                      JaneCopland
                      JaneCopland
                      0
                      5
                      1.3k

                    • Subdomain or New Domain or Directory path?
                      ThompsonPaul
                      ThompsonPaul
                      0
                      3
                      750

                    • Multiple Domains with Keyword in the Domain or one Domain with Keyword as Categories?
                      RyanKent
                      RyanKent
                      0
                      2
                      672

                    • If we add noindex to a subdomain, will the traffic to that subdomain still generate domain authority for the primary domain?
                      STPseo
                      STPseo
                      0
                      2
                      617

                    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
                    • Digital Marketers
                    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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy