This is definitely the easiest way to do it, but URLRewrite is the cleanest way.

-----Original Message-----
From: Steve Kradel [mailto:[email protected]] 
Sent: Tuesday, September 11, 2012 4:56 PM
To: NT System Admin Issues
Subject: Re: IIS tricks

Sure, just set up two virtual hosts, and use the "Redirect all requests to this 
exact destination" option on the second one.  Either use the "Only redirect 
requests to content in this directory" option on the first vhost, or write a 
redirect into default.aspx.

On Tue, Sep 11, 2012 at 3:57 PM, David Lum <[email protected]> wrote:
> Is it possible for a single IIS7 server to host two web sites and have 
> the
> following:
>
>
>
> http://hostname.mydomain.com auto-forward to
> http://hostname.mydomain.com/thissite/page88
>
> -and-
>
> http://hostname2.mydomain.com auto-forward to
> http://hostname.mydomain.com/othersite/page7
>
>
>
> The first one is easy enough, I am not sure I can ALSO do the 2nd one 
> on the same server.
>
> David Lum
> Systems Engineer // NWEATM
> Office 503.548.5229 // Cell (voice/text) 503.267.9764
>
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to