fixit & Rigger
> How do I setup two web servers?
I think this recipe may meet the requirements of posters in this thread.
I'm writing it from memory & I have not tried all aspects of it together,
so there may be a correction or two (or an alternative) required.
There are three issues as I see it, seperating users and admin access to those users,
hosting domains on a second server and having that domain recognised locally and externally,
and handling email on the second server ie using the different mail server for some domains only.
Configure server 1 as server and gateway
Configure server 2 as server-only (not as private server and gateway).
Configure server 1 as your sites DNS server
(this should be automatic & not need manual configuration, do not set a different corporate DNS server IP)
Configure server 2 to look for DNS on server 1
Do this in the Configure this server menu after logging in as admin
eg On the screen "Corporate DNS server address" set server 2 DNS server as server1-IP
Configure server 2 to look for Internet gateway on server 1.
Do this in the Configure this server menu after logging in as admin
eg On the screen "Select gateway IP address" set server 2 gateway address as server1-IP
Setup say 1 main domain on server 1 & 1 virtual domain eg domain1 & domain2
Setup say 2 additional domains on server 2 (can be the main & a virtual) eg domain3 & domain4
External records should point all these domains to the external IP for the gateway server 1
On server 1 create virtual domains for domain2, domain3 & domain4 (and domain1 if preferred)
domain1 is the main domain for server1 (which can also be configured as a virtual domain if you want it in an ibay rather than Primary)
domain2 will point to a local ibay on server 1
domain3 & domain4 will point to different local ibays,
but then you use the proxy pass contrib "virtual domain entry" to seperately point domain3 & domain4 to server2 IP or domain name
eg virtualdomain3 >>>
http://server2-IP or
http://domain3.comCreate the users you wish to have on server 1 which will be maintained by admin1 eg ...domain1/server-manager or ...domain2/server-manager
Create the users you wish to have on server 2 which will be maintained by admin2 ...domain3/server-manager or ...domain4/server-manager
You will also need to configure server1 to forward email for domain3 & domain4, do this using the command
db domains setprop domain3.com MailServer server2-IP
db domains setprop domain4.com MailServer server2-IP
signal-event email-update
The only aspect I'm not sure about is whether the https request will get through to server2 (which I think it won't).
There is an alternative choice in the proxy pass panel,
that does give the option of configuring a ProxyPass URL entry,
where you can specify http & http access.
As I understand it, that setting is for redirecting a local domain URL request to another domain
eg ...domain1/ibay1 to domain 2, so it may not really suit this situation.
Beyond those suggestions then you could start tweaking custom templates to sort out any finer details.
Let us know how you go.