Hi,
I am new to Javascript.
I have registered 3 domain names (www.web-1.com , www.web-2.com and
www.web-3.com and all the 3 domain names points to same hosted
website. When someone browses my website using the URL
http://www.web-2.com then I want a welcome message as "Welcome to
web-2.com", when someone browses my website using the URL
http://www.web-3.com then I want a welcome message as "Welcome to
web-3.com".
How can I achive this because I will have to dynamically change the
welcome message? I am not interested in maintaining multiple pages.
Any solution?
ASK.