Link to home
Start Free TrialLog in
Avatar of mcnuttlaw
mcnuttlawFlag for United States of America

asked on

Subdomain not accessible via the Internet

I am attempting to setup a subdomain on a W2k server with IIS5.

I followed the steps provided here:

https://www.experts-exchange.com/questions/20907649/IIS-subdomain.html?sfQueryTermInfo=1+subdomain"

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 (website.com).  There is a new website in IIS called "SubDomain" with its host header set to "sub.website.com".

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

Avatar of dhoffman_98
dhoffman_98
Flag of United States of America image

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.

Avatar of mcnuttlaw

ASKER

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?
I ask about our ISP because doing a DNS traversal for my subdomain results in a message that no A records exist for sub.website.com.
ASKER CERTIFIED SOLUTION
Avatar of dhoffman_98
dhoffman_98
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial