• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 492
  • Last Modified:

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:

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_20907649.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.

0
mcnuttlaw
Asked:
mcnuttlaw
  • 2
  • 2
1 Solution
 
dhoffman_98Commented:
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.

0
 
mcnuttlawAuthor Commented:
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?
0
 
mcnuttlawAuthor Commented:
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.
0
 
dhoffman_98Commented:
Yes. Your internal clients can access sub.website.com 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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now