backup server
Posted: 28. September 2006 22:14
Hi all,
Currently I've running two servers with xampp (and ubuntu).
Server 192.168.1.a as main server and 192.168.1.b as slave server.
At server 192.168.1.a runs www.example.com and on 192.168.1.b www.another-domain.net .
At both servers I made a bind9 installation with all the master zones at 192.168.1.a and all the slave zones (copy of the master zones) at 192.168.1.b
Xampp was installed at both servers, because I liked to be server b as backup in case of breakdown and as backup mailserver.
Tried configuring apache to resolv the correct documentroots via Vhosts.
Server a is doing great, but all the request for subdomains for the b-server don't work and give the standard server at the b-server.
From outside the nework a request for www.another-domain.net resolvs in www.example.com standard server.
How to configure this?
I thought portforwarding is an option to acces the second server but still worry about DNS-settings and apache to be right.
Someone has a clue?
Kind Regards,
John.
Currently I've running two servers with xampp (and ubuntu).
Server 192.168.1.a as main server and 192.168.1.b as slave server.
At server 192.168.1.a runs www.example.com and on 192.168.1.b www.another-domain.net .
At both servers I made a bind9 installation with all the master zones at 192.168.1.a and all the slave zones (copy of the master zones) at 192.168.1.b
Xampp was installed at both servers, because I liked to be server b as backup in case of breakdown and as backup mailserver.
Tried configuring apache to resolv the correct documentroots via Vhosts.
Server a is doing great, but all the request for subdomains for the b-server don't work and give the standard server at the b-server.
From outside the nework a request for www.another-domain.net resolvs in www.example.com standard server.
How to configure this?
I thought portforwarding is an option to acces the second server but still worry about DNS-settings and apache to be right.
Someone has a clue?
Kind Regards,
John.