There's insufficient information in your post to answer completely.

Do you have two separate websites setup in IIS? If so, then you can simply use 
any number of redirect options (IIS has inbuilt redirect functions, or you can 
use .NET, or the optional ARR module) to redirect http://trial.google.com to 
http://trial.google.com/test

What you didn't say is if you want to redirect anything else. E.g. what is 
someone requests http://trial.google.com/default.htm? DO you want to redirect 
that as well? (or just give a 404?) What about 
http://trial.google.gom/somethingelse?

Secondly, what if you don’t have a second website? You just have two DNS 
entries pointing to the one website? In that case, it's a little more work (but 
not much). You just need to specify the matching host header that the browser 
must send for the redirect to kick in.

It helps if you work through all the scenarios (use cases) first, so you have a 
set of outcomes. Then we can build a rule to match the expected outcomes.

Cheers
Ken

-----Original Message-----
From: Daniele [mailto:[email protected]] 
Sent: Thursday, 9 May 2013 8:13 AM
To: NT System Admin Issues
Subject: IIS W2KR2 Question

Got an IIS question that I am hoping someone can help with.

I am using the google domain name fictiously to illustrate the example.

So I have my web server, and it has a web page at google.com.  I have an A 
record that points google.com to an IP.
 
Then I have anoher web page on that same server that is at 
trial.google.com/test.  I have an A record that points trial.google.com to the 
same IP as google.com.
 
If I try to manually go to trial.google.com/test, all works just fine.  
 
My question is, how do I redirect traffic so that the trial.google.com 
automatically goes to trial.google.com/test?
  
Meanwhile, I don't want to impact what is already working, google.com

~ 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