?
Solved

IIS 7 Page Redirect by Hostname

Posted on 2013-05-15
1
Medium Priority
?
1,192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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 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

771 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