URL redirection based on domain value

Hi,

I am trying to get mobile users to see a different home page and having problems.

If someone enters:

http://mysite/

then I would like it to go to

http://mysite/mydb.nsf

However if someone enters

http://mysitemobile/

then I would like it to go to

http://mysite/mobile.nsf

Can this be done? If so is it a redirection or a substitution rule?

(I have got our networks team to enter both http://mysite/ and http://mysitemobile/ in the DNS server both pointing to the same IP address)

Thanks

Paul

Subject: Solution

Since I found my own solution I thought that I would document it in case anyone else needed the same functionality.

The answer was to create two web site documents with mysite in the host name section of one and mysitemobile in the host name section of the other. You can then put in two different home page URL’s as apprpriate and hey presto it works.

Cheers

Paul