| ASP Redirect
|
alexshields

msg:956689 | 4:27 am on Feb 16, 2004 (gmt 0) | Good Folks, Is it possible to have two domain names under the same ip address and have the domain names both show up at the top http bar when you type them in? In other words both will take to you to the same IP address although you would not see the other. If it is possible (perhaps through asp rediret) please let me know how to. Thanks very much in advance, Alex S.
|
Zaphod Beeblebrox

msg:956690 | 11:24 am on Feb 16, 2004 (gmt 0) | If you use Request.ServerVariables("server_name") you can see what site they're trying to view. This variable will hold the name of the domain they typed in the address bar, or clicked on somewhere on the net (e.g. www.myfirstdomain.com, www.myseconddomain.com). Using Response.Redirect you can send them to the appropriate page on our server. I host 6 sites on 1 IP address this way.
|
txbakers

msg:956691 | 1:42 pm on Feb 16, 2004 (gmt 0) | You can use host headers as well with one IP address.
|
|
|