a) Copy that page to the directory that contains the site trial.google.com and then b) a no-wait redirect page, either as the default page for google.com or as google.com/test.[asp|htm|], that points to trial.google.com/test, depending on how folks reach google.com
Something like this for html: <meta http-equiv="refresh" content="0;url=http://www.google.com/" /> or something like this for asp: Response.AddHeader("REFRESH","10;URL=test.aspx"); google for "zero second redirect" Kurt On Wed, May 8, 2013 at 4:46 PM, Daniele Bartoli <danielebart...@gmail.com> wrote: > There is one site in IIS. So all google.com traffic goes to that one site > (i.e. Default Web Site). > Within that site there is a page (google.com/test) that they are trying to > associate to the other domain name (trial.google.com) > How do I do that? > > On Wed, May 8, 2013 at 4:19 PM, Kurt Buff <kurt.b...@gmail.com> wrote: >> >> Err, my reply should read: >> >> "This is easier if google.com and 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> wrote: >> > On Wed, May 8, 2013 at 3:13 PM, Daniele <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. 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 >> > >> > this is easier if google.com and 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 >> > >> > 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 >> > >> > 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 >> 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 ~ 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