A
andrew sargent
Hi,
I have two domain names pointing to the same webspace, but i want them to be
directed to seperate directories on the server:
www.web1.com -> dir "Web1"
www.web2.com -> dir"Web2"
The company hosting my website dont allow more than one domain to pointto
seperate directories (to prevent reselling), but suggested that some code
could be written to direct the browser to the appropriate directory
depending on which url was used.
Any ideas on how I can determine which URL the user wants so that i can then
redirect them to the appropriate homepage??
Thanks
Andrew
I have two domain names pointing to the same webspace, but i want them to be
directed to seperate directories on the server:
www.web1.com -> dir "Web1"
www.web2.com -> dir"Web2"
The company hosting my website dont allow more than one domain to pointto
seperate directories (to prevent reselling), but suggested that some code
could be written to direct the browser to the appropriate directory
depending on which url was used.
Any ideas on how I can determine which URL the user wants so that i can then
redirect them to the appropriate homepage??
Thanks
Andrew