Question : Have internal website respond to different external name?

I am not sure how to go about this but this is what I am trying to do.

We have a couple of internal websites that we want to be able to hit from a different external URL. For example our interal site is http://localhost/SITE/Login.aspx  and I would like to have login.domainname.com point to or re-direct to that URL.

I have set it up so that I can hit the external website externally, but I want it to be as easy as possible for external users, i.e. the login.domainname.com that they can enter in a web browser to get to that site, instead of the longer URL.

I am not very versed in IIS so I'm not sure if a custom header would be what I need? Do I need to create a new website and then have that redirect to that site? As I said, I am an IIS rookie so the more detailed instructions the better.

Any suggestions and help are appreciated!

Answer : Have internal website respond to different external name?

When you say that I  have set it up so that I can hit the external website externally, I am assuming that when users enter login.domain.com/site/login.aspx they can see the login page and enter their credentials. Assuming that we have only one website in IIS(Default Web Site) follow the following steps Open IIS Manager and go to the properties of the Default Web Site-->Home Directory select the radio button A redirection to a URL and enter /site/login.aspx and select a directory below URL entered.

Note: This would only work if you have a Virtual Directory named Site under Default Web Site and within it you have login.aspx

If that is not the case please give a dispriction or the path where that file(login.aspx) is located on the server.

Imran
Random Solutions  
 
programming4us programming4us