Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: kruhm on March 16, 2006, 01:49:47 PM

Title: multiple intranets
Post by: kruhm on March 16, 2006, 01:49:47 PM
Is it possible to have multiple intranets with different ibays -like this?

http://sales                   goes to sales ibay
http://marketing            goes to marketing ibay
Title: multiple intranets
Post by: pfloor on March 16, 2006, 10:10:20 PM
http://server-name/sales will go to the ibay named sales
http://server-name/marketing will go to the ibay named marketing

You can also use:

http://primary-domain/sales
http://primary-domain/marketing

Remember to set the public access to local in the ibays panel for each ibay.

Paul
Title: multiple intranets
Post by: Boris on March 16, 2006, 10:57:50 PM
If you use your SME as DHCP/DNS server (most common for the small offices) you also can configure virtual domains without registering those on the Internet.
http://domain1.lan served from Ibay-1
http://domain2.lan served from Ibay-2

http://sales.local from "sales" Ibay
http://marketing.local from "marketing" ibay

etc...
Title: multiple intranets
Post by: kruhm on March 17, 2006, 06:53:39 AM
Appreciate the help.

I wanted it to be easy as possible for end-users. I ended up using intranet subdomains.

http://sales.domainname.tld goes to sales ibay
http://marketing.domainname.tld goes to marketing ibay

On a side note, if you put "sales." in virtual domains and map it to sales ibay, then http://sales goes to the primary ibay. I couldn't redirect/rewrite this to sales ibay.

On another side note, you can add virtual servers to the smb.conf. This creates the illusion of multiple servers on the network. Of course http://sales goes to the primary ibay. I couldn't redirect/rewrite this to sales ibay.
Title: multiple intranets
Post by: Boris on March 17, 2006, 08:41:43 PM
In this case "sales" resolved as a server name and served from the default (primary ibay).

http server reads the request header (http://domain.name.lan) and if match NOT found for the virtual domain in the configuration file, it shows the primary instead.