Solved

IIS 7 Page Redirect by Hostname

Posted on 2013-05-15
1
1,128 Views
Last Modified: 2013-05-15
I swear i've done this before, but maybe i am crazy.

So I have a public facing website with a public NAT of IP a.b.c.d.  I have DNS record setup for site.domain.com, which takes me to a logon page site.domain.com/logon.

i was wondering if I setup a new DNS record site2.domain.com to point to the same IP, if I can have it land on a diffrent logon page (on the same server) so something like site2.domain.com/logon2

So I guess my question is can I redirect the landing page based off of hostname/url?
0
Comment
Question by:JamesonJendreas
1 Comment
 
LVL 12

Accepted Solution

by:
Henk van Achterberg earned 500 total points
ID: 39169039
Yes, in IIS you can set it to listen for hostname:

http://technet.microsoft.com/en-us/library/cc753195.aspx

you will need to create a new virtual site which listens to site2.domain.com. If you want one site but different landing pages you will need to write your own asp(x) file.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now