Solved

IIS 7 Page Redirect by Hostname

Posted on 2013-05-15
1
1,164 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

792 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