Solved

IIS 7 Page Redirect by Hostname

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

724 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