How can I write the default.asp file on my server?

CHA1

New member
So that depending on the URL it will display a different html page.
No, I know how to write an html file...
I am asking, how should I write my default.asp file so that depending on the url at the top of the screen (let's say it's site1.com) that it will open an html file called site1.html as the main page. And if @ the url it says site2.com, it will load the site2.html file.
 
Back
Top