Hi,
I am very new to writing scripts. I was wondering if someone could help
me with my code. I have two domain names: 'domainx' and 'domainy'. They
both point to the same directory on the web server and by default, both
point to index.html. If the user types in http://www.domainx.com I want
them to see the index.html page. However, if they type in
http://www.domainy.com I want it to redirect to another page in that
directory. Can that be done and if so, how can that be done in JavaScript?
Any steps in the right direction would be greatly appreciated.
Thanks,
Robert