I Scott,Thank you for your code but this is not really my question.I have one webspace and 3 domain names linked to the index.html of my webspace. So if user want to go on one of my domain names, he will come on the same index page.I would like to find a code (html or java) that grab the domain name typed by the customer in the browser (one of the three domain name I have) and in function of the domain name, the index page will be redirected to different pages in the website.Regards