Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 27, 2006 04:05 PM by ARPRINCE
Member
492 Points
110 Posts
Oct 27, 2006 01:17 PM|LINK
I have two web projects running on our IIS server with details as follows:
WEB1 EXTERNAL URL: http://web1.myproject.com LOCAL URL: http://myserver/WEB1/StartPage.htm server path: c:\inetpub\wwwroot\WEB1
WEB2 URL: http://web2.specialproject.com LOCAL URL: http://myserver/WEB2/StartPage.htm server path: C:\inetpub\wwwroot\WEB2
On my IIS server, I will have the home directory point to c:\inetpub\wwwroot\ and the default document is redirect.aspx.
How do I get redirect.aspx know if the request is either http://web1.myproject.com or http://web2.specialproject.com the automatically redirect them to the correct project start-up pages?
Participant
1742 Points
411 Posts
Oct 27, 2006 03:14 PM|LINK
Look up IIS Host Headers.
Better yet I already did, here ya go: http://www.visualwin.com/host-header/
Oct 27, 2006 04:05 PM|LINK
ARPRINCE
Member
492 Points
110 Posts
URL Redirection
Oct 27, 2006 01:17 PM|LINK
I have two web projects running on our IIS server with details as follows:
WEB1
EXTERNAL URL: http://web1.myproject.com
LOCAL URL: http://myserver/WEB1/StartPage.htm
server path: c:\inetpub\wwwroot\WEB1
WEB2
URL: http://web2.specialproject.com
LOCAL URL: http://myserver/WEB2/StartPage.htm
server path: C:\inetpub\wwwroot\WEB2
On my IIS server, I will have the home directory point to c:\inetpub\wwwroot\ and the default document is redirect.aspx.
How do I get redirect.aspx know if the request is either http://web1.myproject.com or http://web2.specialproject.com the automatically redirect them to the correct project start-up pages?
SuperGhost
Participant
1742 Points
411 Posts
Re: URL Redirection
Oct 27, 2006 03:14 PM|LINK
Look up IIS Host Headers.
Better yet I already did, here ya go: http://www.visualwin.com/host-header/
DennyDotNet
Social42.com
ARPRINCE
Member
492 Points
110 Posts
Re: URL Redirection
Oct 27, 2006 04:05 PM|LINK