Forum Moderators: open

Message Too Old, No Replies

Redirecting domains to another folder

Hosting multiple domains on single ip address

         

featurepost

4:28 pm on Jul 24, 2003 (gmt 0)



I have several folders on my site with different domains. Each folder represents a domain with its index page. However, I want to host them on one ip using ASP scripting, by redirecting each domain to a particular folder when the domain is typed in the web browser. I am not using vhost either. Is this possible? and if so does anybody know of asp scripts that works?
Thank you
Featurepost

mcavic

4:31 pm on Jul 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know ASP, but it should be possible to check the value of the HTTP_HOST variable or some such, and do a redirect to the folder.

But why not use name virtual hosts?