Easiest way is to: a) create a second website. b) Configure the second website with the host header "trial.google.com" c) Set the home directory of the second website to be the "test" folder But, what you are asking for now is not what you were asking for before...
Cheers Ken From: Daniele Bartoli [mailto:danielebart...@gmail.com] Sent: Thursday, 9 May 2013 9:47 AM To: NT System Admin Issues Subject: Re: IIS W2KR2 Question There is one site in IIS. So all google.com<http://google.com> traffic goes to that one site (i.e. Default Web Site). Within that site there is a page (google.com/test<http://google.com/test>) that they are trying to associate to the other domain name (trial.google.com<http://trial.google.com>) How do I do that? On Wed, May 8, 2013 at 4:19 PM, Kurt Buff <kurt.b...@gmail.com<mailto:kurt.b...@gmail.com>> wrote: Err, my reply should read: "This is easier if google.com<http://google.com> and trial.google.com<http://trial.google.com> are actually different sites on separate IP addresses on the IIS server..." Kurt On Wed, May 8, 2013 at 4:17 PM, Kurt Buff <kurt.b...@gmail.com<mailto:kurt.b...@gmail.com>> wrote: > On Wed, May 8, 2013 at 3:13 PM, Daniele > <danielebart...@gmail.com<mailto:danielebart...@gmail.com>> wrote: >> 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<http://google.com>. I have an A record that points >> google.com<http://google.com> to an IP. >> >> Then I have anoher web page on that same server that is at >> trial.google.com/test<http://trial.google.com/test>. I have an A record >> that points trial.google.com<http://trial.google.com> to the same IP as >> google.com<http://google.com>. >> >> If I try to manually go to >> trial.google.com/test<http://trial.google.com/test>, all works just fine. >> >> My question is, how do I redirect traffic so that the >> trial.google.com<http://trial.google.com> automatically goes to >> trial.google.com/test<http://trial.google.com/test>? >> >> Meanwhile, I don't want to impact what is already working, >> google.com<http://google.com> > > this is easier if google.com<http://google.com> and > trial.google.com<http://trial.google.com> are actually > separate sites on the IIS server... > > In that case, just make the test page your default for > trial.google.com<http://trial.google.com> > > But, in this case, from dim memory, you'll need to enable host > headers, and you'll still want to make the test page as your default > page for trial.google.com<http://trial.google.com> > > See this article: > http://technet.microsoft.com/en-us/library/cc753195%28v=ws.10%29.aspx > > Kurt ~ 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 listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> 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 listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> 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 listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe ntsysadmin