Subdomain not accessible via the Internet

Posted on 2007-07-24
Last Modified: 2012-06-27
I am attempting to setup a subdomain on a W2k server with IIS5.

I followed the steps provided here:"

The subdomain is housed on a different server (for load balancing) so the directory path is set to a network share (\\servername\sharename).  I have the shared permissions set to Everyone (Read only).

Our DNS server has a host record "sub" set to the same IP as the default website (  There is a new website in IIS called "SubDomain" with its host header set to "".

The result is that the url works just fine within the network but the "website could not be found" from the internet.

Question by:mcnuttlaw
    LVL 13

    Expert Comment

    Just to be clear. You have a primary web server which is accessable from the Internet, and then you have a secondary server that hosts the sub domain.

    The subdomain is on another server... is that other server also running IIS, or are you asking IIS on the primary server to simply get the pages from the share?

    This is sounding very much like a permissions issue. When a user is connecting to your main site, he is being served pages that exist on the server. But when you go through a UNC share, you are assuming that the credentials of the web user are going to be authenticated to the other machine.

    You have Everyone set for Read Only. What about Guest? Everyone means everyone with a domain or local account, but not necessarily an anonymous user.

    You might try mapping a connection to the other server. Make a mapped drive, for example connect S:\ to \\servername\sharename. Then point the directory path to the S: drive. Authentication between the IIS server and the other machine is then in place to read the contents of the file. See if that works for you.

    LVL 2

    Author Comment

    I think the initial issue is with DNS.  I switched the subdomain's website to point to a test script on the same server as the Default Website.  So both the Default and subdomain's websites are on the same server.

    And again, the script works fine within the network but not via the Internet.

    Do I need to add a host name to our ISP records?
    LVL 2

    Author Comment

    I ask about our ISP because doing a DNS traversal for my subdomain results in a message that no A records exist for
    LVL 13

    Accepted Solution

    Yes. Your internal clients can access if you have it in your own DNS, but when you go home and try to get in, you are depending on the externally facing DNS server. If your ISP manages your external DNS records, simply ask them to create an additional A record that points to the same address. A CNAME record may work as well, but I personally try to avoid using CNAME records... that's a personal preference though.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now