Want different default.html depending on domain name.
Posted on 2004-03-29
I have several domain names pointing to exactly one web site.
From watching other web sites, it seems possible to show a
different default.html page from one web site depending on which
domain name was used to access the web site. I do not know
how to do this and would like help.
My cgi/perl scripts see the following two environment variables,
both of which are set to the domain name.
However default.html is not a perl script. How do I get default.htm
to recognize the domain name?
The web site runs on Windows 2000.
My own skills include basic (not advanced) HTML and Perl. I have
little. I would rather not rely on the user having scripting
enabled. (It is so easy to turn off scripting in Internet
Where do you recommend I go from here to show different default
web pages for different domain names?