Forum Moderators: open

Message Too Old, No Replies

Getting rid of request.serverVariables

redirects based on domain name

         

chanda7

2:03 pm on Sep 23, 2004 (gmt 0)

10+ Year Member



I am absolutely clueless here, so the more help you can give me the better. I'm doing some SEO work for company and found they are using their index.html file to redirect users based on the domain they typed in. However, they basically have all the domains point to one site/directory. Before, they had one domain go to a different directory, but they no longer have that domain.

My question is: can I get rid of the request.serverVariables altogether on the index page and all the domains will automatically pull up the same page?

Thanks for your help,
Chanda

TheNige

8:40 pm on Sep 23, 2004 (gmt 0)

10+ Year Member



if you want all of the domains to use the same site in IIS, you can add host headers for each domain in the IIS management tool. Then just point the domain DNS entries to the specific IP of the site you want them all to use.