R6 Multiple Domains Hosting

Hi,

We are trying to host 2 Domain Web sites on a single Domino Server, R6.5.1 with single IP address.

i.e.

www.abc.com.sg

These 2 web sites will serve different contents.

We had created the Internet Sites documents for the 2 Domains and have the relevant DNS entries.

Everythings is working fine, ie. We can surf to both web site without any problems.

ie. When we type the URL:

or

www.abc.com.sg

the web browser will bring us to these 2 different websites with different contents.

However, when we type in the website URL with sub-directory,

ie. www.abc.com/forum

or

www.abc.com.sg/forums

the web browser will indicate that

"You are not authorized to view this page.

You might not have permission to view this directory or page using the credentials you supplied."

We’ll have to explicitly type in the URL:

www.abc.com/forum/index.htm

or

www.abc.com.sg/forums/index.htm

to be able to get to the website.

But before creating the Internet Sites document, we would be able to just type in the URL:

ie.

www.abc.com/forum

and browse to the website.

Any brothers can pls help?

Appreciate and many thanks.

Calvin.

Subject: R6 Multiple Domains Hosting

what is the HTML directory you configured for the intersite site document? where did you put this index.htm file on the web server? Is forum/forum a subdirectory within the domino subdirectory – data/domino/ ?

Subject: RE: R6 Multiple Domains Hosting

Hi Joe,

The HTML directory configured is domino\html.

The main index.htm is in the html directory.

Yes, forum is a subdirectory within the domino directory ,i.e. domino\html\forum.

There’s also a index.htm for the forum subdirectory, inside this forum directory.

thxs,

Calvin.

Subject: RE: R6 Multiple Domains Hosting

Calvin,if you want the web page to be shown based directory then you have to make sure the file name is index.html not index.htm.

If you want the root directory of the site to be within the html\forum then I would update the document with that path.

HTH

Subject: RE: R6 Multiple Domains Hosting

Hi Joe,

Do you meant that I’ll have change all the setting for index.htm to index.html?

ie, in the Web Server Doc → Internet Protocols → HTTP → R5 Basics → Default Home Page?

and in both the Internet Site doc?

I had tried both, and do a “tell http refresh”, but still having the same problems.

thxs.

Subject: RE: R6 Multiple Domains Hosting

The web server doc listing (I believe) is ignored when you start using the Internet Site document.

I guess I also need for you to clarify as well: when a user goes to http://www.abc.com or http://www.abc.com.sg are the valid pages showing? If so what was the page shown index.htm or index.html?

Webservers assume that index.html will be the default webpage when you are traversing subdirectories. The only way I can for a webserver (including Domino) to show index.htm as a default webpage would to either create a internet site document, a redirection rule, or a virtual server setting. All of these are specific explicit rules.

I hope this explains things, if you have more specific details you want to ask feel free to check my profile and send an email.

HTH

Subject: R6 Multiple Domains Hosting - Solved.

Hi,

After some months of give up, I tried again yesterday and was lucky enough to slove the problems.

It was nothing much, all it need was just a bloody Virtual Host document only. After creating a virtual host for one of the web site, bingo … it was up and running.

Thanks !!!