Does Domino need an IP for each "Web Site"?
QUESTION: Does Domino need an IP for each "Web Site" ?
CONTEXT:
- The server has "Load Internet configurations from Server\Internet Sites documents:" enabled.
- Two domains www.domain1.com and www.domain2.org lead to this server.
- SSL certificate, Keyring and "Home URL:" are differents for this two domains.
How could I define this TWO "web site" (in administrator/Configuration/Web/Internet Sites) if they have the SAME IP? How to identifiy them according to their domain?
thanks in advance
N.B. with 2 different IP it works (I made the test but didn't suceed with only one IP)
Solution 1:
If you want to use SSL, then each site must have its own IP. This is because the Domino server is not able to encrypt and thereby identify each site before it knows what SSL keyring to use to decrypt the SSL connection.
Domino does not need an IP for each non-SSL site. You can have multiple non-SSL web sites on one IP.
First, you need to setup the DNS A record for the web sites to point to the public IP of the Domino server (of course).
Then in the Internet Site Web document you just identify each site by the domain name(s). Here are examples of two web sites:
Site A:
Site Information
Descriptive name for this site: Site A
Organization: Site B
Use this web site to handle requests which cannot be mapped to any other web sites: No
Host names or addresses mapped to this site: domain1.com
www.domain1.com
Domino servers that host this site: *
Site B:
Site Information
Descriptive name for this site: Site B
Organization: Site B
Use this web site to handle requests which cannot be mapped to any other web sites: No
Host names or addresses mapped to this site: domain2.com
www.domain2.com
Domino servers that host this site: *
The name and orgnization can be whatever you want, but the host names must match the DNS.