Hopefully this is an easy one for you as my ASP/VBScripting is VERY rusty. I want to use an ASP script to redirect the web site visitor depending on what subdomain they enter. So let's say you have a site called XYZ.com. i.e. if the user types in it hits an index.asp script first which is a simple IF THEN script that would tell the browser...
If is URL go to ..\index.html
If users.xyz.com is URL go to ..\users\index.html
If support.xyz.com is URL go to ..\support\index.html
Many moons ago I remember writing a script for a web site that did this, but I haven't written any VB code in so long I can't for the life of me remember how I did it.
=================
There are 10 kinds of people in this world, those that understand binary and those that do not.
If is URL go to ..\index.html
If users.xyz.com is URL go to ..\users\index.html
If support.xyz.com is URL go to ..\support\index.html
Many moons ago I remember writing a script for a web site that did this, but I haven't written any VB code in so long I can't for the life of me remember how I did it.
=================
There are 10 kinds of people in this world, those that understand binary and those that do not.