Web site rule: How to redirect a domain name?

HiI have read Admin Help and other etries in the forum regarding this subject but can not find an explicit reference to domain names being redirected. They all refer to patterns after a “/”.

I’d like to have 2 domain names, pointing to the same server IP number, be redirected to two different NSF’s as follows:

www.mydomain.com → /domreg.nsf

www.anotherdomain.com → /abc.nsf

I have tried both redirection and substitution on D6.5 without success. When I have an entry in the “Home URL” field of the web server configuration document, eg XYZ.nsf, then that is what is launched and when I remove that entry then I get a HTTP error.

Is there anyway to do this? What am I missing?

Or must I resort to a bit of coding in JavaScript on a landing page?

Note: I have enabled the “Load Internet configurations from Server\Internet Sites documents:” in the server document and I have set up a web site document with IP address of the server enterd in it and of course I have set up 2 rules for redirecting or substituting the two incoming domain names.

Any help is appreciated.

Bizhan

Subject: web site rule: How to redirect a domain name?

Check into Virtual server docs, they should be able to do it for you.

Subject: Virual server docs only work for R5, not D6.

Subject: RE: Virual server docs only work for R5, not D6.

They should still work as long as you havent turned on the Internet Sites view…

Subject: “Internet Site” document

Hi

What you should do is just to create an “Internet Site” for each of the domains. It is really that simple in 6.5 :slight_smile:

regards

Jesper Kiaer

http://www.jezzper.com

Subject: Soooo simple, now you’ve said it. Thank You.