Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS Forward to a Folder?

Status
Not open for further replies.

lameid

Programmer
Jan 31, 2001
4,212
US
I am hoping this is possible... I want to create a DNS record for something like Intranet and have it redirect to <server name>/intranet.

Any help would be apprecieated.
 
Two different issues there. DNS would point to <server>, but your IIS configure would need to point to the folder.

Pat Richard, MCSE MCSA:Messaging CNA
Microsoft Exchange MVP
Want to know how email works? Read for yourself -
 
IIS configured for site Intranet and Intranet.domainName.com.

DNS has a zone for intranet that points to the IP of server.

It prompts to log in. What am I missing now?


TIA.
 
Either you're not using IE (which will use the Integrated Windows Authentication to automatically log authenticate you to the web server), or the security on that directory isn't set correctly for web users.
 
Using IE 7 and it works when hitting servername/intranet but not intranet.

Sorry, I am green at this.
 
Check the security settings in IIS. Make sure that you have Integrated Windows Authentication selected. Also, try using the FQDN in the IE address bar instead of just the machine name.
 
I'm not at the office but what I remember from being at the office...

Windows Authentication is set on both the IIS sites setup (one for companydomain.com and one for intranet).

Both sites point to the same content directory.

If I use the url servername/intranet then it works without prompting.

If I use servername.companydomain.com/intranet it prompts to log in.

If I use intranet.companydomain.com it prompts to log in.
DNS is setup with intranet setup in the companydomain.com zone and ALSO as its own zone so simply using intranet should work as well (assuming IIS is configured correctly and cooperates).

This is where my memory is a little fuzzy... I forget what it is called exactly but one site has simply intranet entered as the default site name while the other has both servername and servername.companydomain.com as the default site.
 
Looks like my memory is not so bad... One website has both intranet and intranet.companyname.com specified.


Perhaps the only piece I have not mentioned is that companyname.com is the AD domain in my example. Not that I expect anyone did not assume that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top