[thelist] 2 Domain Names, 1 Host?

Daniel J. Cody dcody at oracular.com
Wed, 01 Dec 1999 13:29:12 -0600


Leo Wiedersheim wrote:
> 
> Howdy,
> I know it is possible to have two domain names resolve to the same host.
> However, I am wondering if it is possible to detect which URL a person is
> coming from and redirect them to a certain page on that host.  For example,
> I currently have a virtual host with the domain name
> http://www.wiedersheim.com and I've acquired the name ClickTech.com.  If
> someone wants to go to wiedersheim.com, I'd like them to go to
> http://www.wiedersheim.com/index.html, if they want to go to
> http://www.clicktech.com, I'd like them to be redirected to something like
> http://www.wiedersheim.com/clicktech/index.html
> 
> Is that possible?  If so, any hints as to how?

Leo, what Web server are you using? Let us know, and we'll have a more
finite answer :)

.djc.