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
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • 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.

    Let your business shine with Listings AI
    Moz Local

    Let your business shine with Listings AI

    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
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

    • 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.

    • 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

                  • BHeffernan

                    Can subdomains hurt your primary domain's SEO?

                    Our primary website https://domain.com has a subdomain https://subDomain.domain.com and on that subdomain we have a jive-hosted community, with a few links to and fro. In GA they are set up as different properties but there are many SEO issues in the jive-hosted site, in which many different people can create content, delete content, comment, etc. There are issues related to how jive structures content, broken links, etc. My question is this: Aside from the SEO issues with the subdomain, can the performance of that subdomain negatively impact the SEO performance and rank of the primary domain? I've heard and read conflicting reports about this and it would be nice to hear from the MOZ community about options to resolve such issues if they exist. Thanks.

                    Intermediate & Advanced SEO | Feb 7, 2019, 9:42 AM | BHeffernan
                    1
                  • 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
                  • Agguk

                    Backlinks from old domain

                    Hi, We have gone through a change of company brand name including a new domain name.
                    We followed google recommendations at: https://support.google.com/webmasters/answer/83106?hl=en and it seems to have worked really well, the new domain has replaced the old in the google search results. My question: Still most of our backlinks, both anchor text and links use the old brand name and domain and it´s a slow process trying to update all references. Although they get redirected fine to the new domain (also following google recommendations), I wonder if the current scenario is doing any harm, SEO wise (other than the missed visual exposure of the new brand name) ? ...since the old brand name is not present at the new site I´m thinking of including "New brand name - previously old brand name" somewhere just to provide some sort of connection to all old backlinks, would that be unnecessary? I should mention that the old brand name actually includes our most important keyword but the new brand name does not. Thanks!

                    Intermediate & Advanced SEO | Oct 6, 2016, 10:26 AM | Agguk
                    0
                  • dbaxa-261338

                    Consolidating Multiple Domains into A Single Domain

                    I have a client who's website is an amalgamation of multiple domains. jacksonhole.net is the main domain but the site passes traffic back and forth from the following domains/sites. My questions is, would it it be better for SEO to consolidate all of these domains under the single high authority domain and 301 redirect the rest or is that a really bad idea?  Thanks for your help. jacksonhole.net (Domain Authority 31) jackson-hole-rental-condos.com (Domain Authority 22) jackson-hole-rental-homes.com (Domain Authority 21) j acksonholehotelguide.com (Domain Authority 19)

                    Intermediate & Advanced SEO | Jan 18, 2016, 1:26 PM | dbaxa-261338
                    1
                  • Branden_S

                    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 | Apr 8, 2014, 1:17 PM | Branden_S
                    0
                  • EEE3

                    Subdomain Blog Sitemap link - Add it to regular domain?

                    Example of setup:
                    www.fancydomain.com
                    blog.fancydomain.com Because of certain limitations, I'm told we can't put our blogs at the subdirectory level, so we are hosting our blogs at the subdomain level (blog.fancydomain.com). I've been asked to incorporate the blog's sitemap link on the regular domain, or even in the regular domain's sitemap. 1. Putting the a link to blog.fancydomain.com/sitemap_index.xml in the www.fancydomain.com/sitemap.xml -- isn't this against sitemap.org protocol? 2. Is there even a reason to do this? We do have a link to the blog's home page from the www.fancydomain.com navigation, and the blog is set up with its sitemap and link to the sitemap in the footer. 3. What about just including a text link "Blog Sitemap" (linking to blog.fancydomain.com/sitemap_index.html) in the footer of the www.fancydomain.com (adjacent to the text link "Sitemap" which already exists for the www.fancydomain.com's sitemap. Just trying to make sense of this, and figure out why or if it should be done. Thanks!

                    Intermediate & Advanced SEO | Jun 14, 2013, 3:21 PM | EEE3
                    0
                  • sbaylor

                    Getting a Sitemap for a Subdomain into Webmaster Tools

                    We have a subdomain that is a Wordpress blog, and it takes days, sometimes weeks for most posts to be indexed. We are using the Yoast plugin for SEO, which creates the sitemap.xml file. The problem is that the sitemap.xml file is located at blog.gallerydirect.com/sitemap.xml, and Webmaster Tools will only allow the insertion of the sitemap as a directory under the gallerydirect.com account. Right now, we have the sitemap listed in the robots.txt file, but I really don't know if Google is finding and parsing the sitemap. As far as I can tell, I have three options, and I'd like to get thoughts on which of the three options is the best choice (that is, unless there's an option I haven't thought of): 1. Create a separate Webmaster Tools account for the blog 2. Copy the blog's sitemap.xml file from blog.gallerydirect.com/sitemap.xml to the main web server and list it as something like gallerydirect.com/blogsitemap.xml, then notify Webmaster Tools of the new sitemap on the galllerydirect.com account 3. Do an .htaccess redirect on the blog server, such as RewriteRule ^sitemap.xml http://gallerydirect.com/blogsitemap_index.xml Then notify Webmaster Tools of the new blog sitemap in the gallerydirect.com account. Suggestions on what would be the best approach to be sure that Google is finding and indexing the blog ASAP?

                    Intermediate & Advanced SEO | May 1, 2013, 3:49 PM | sbaylor
                    0
                  • optimalwebinc

                    Why does a site have no domain authority?

                    A website was built and launched eight months ago, and their domain authority is 1.  When a site has been live for a while and has such a low DA, what's causing it?

                    Intermediate & Advanced SEO | Feb 20, 2013, 11:42 PM | optimalwebinc
                    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.