fuzecx
08-31-2007, 01:15 PM
Hi guys!
I'm looking for an ASP script that redirects to a unique folder based on the domain that a user has entered into their browser:
www.domain1.com --> --> www.domain1.com/folder1/
-- ASP Script --
www.domain2.com --> --> www.domain2.com/folder2/
With my webhost I have assigned several CNAMEs pointing to my home testing server via dynamic dns. I have only one ip address and only one port.
Is it possible to create a script like this? and if so can someone give me a little bit of help?
Thankyou,
Wayne
I'm looking for an ASP script that redirects to a unique folder based on the domain that a user has entered into their browser:
www.domain1.com --> --> www.domain1.com/folder1/
-- ASP Script --
www.domain2.com --> --> www.domain2.com/folder2/
With my webhost I have assigned several CNAMEs pointing to my home testing server via dynamic dns. I have only one ip address and only one port.
Is it possible to create a script like this? and if so can someone give me a little bit of help?
Thankyou,
Wayne