?
Solved

IIS 7 Page Redirect by Hostname

Posted on 2013-05-15
1
Medium Priority
?
1,213 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 2000 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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 the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

807 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