2 servers for 1 website ?

txn

Verified User
Joined
Jun 4, 2007
Messages
39
Can we do that with DA ? or without DA ? Have anyone done this before ? IF so please share your experience. Thanks.

Note: I have 2 servers and both located at 2 difference data center.
________
Union County, Ohio
 
Last edited:
fwpeter, was there actually a set of instructions in there on how to actually do the loadsharing? If so, then I didn't see it.

txn,

If all your sites are or will be static sites, and NO sites use mysql, then this is simply a matter of setting up the two servers with the same users and sites. Then on each of the servers set DNS to be authoritative for the domain, pointing to an IP# on the same server. Use both nameservers at the registrar when you set up the domain.

I've posted this method before; search these forums for better instructions and for the reasons why and how this works.

Of course you're responsible for figuring out how to get the same content on both servers, and if both servers are going to be handling mail then each user will have to be able to get the mail off both servers.

If any sites use MySQL then this becomes a lot more complex; all sites have to have their MySQL use replicated across both servers. You can check with the MySQL forums on ways to do this.

And if you want to use true load-balancing and replication, you'll need at least one additional server or high-availability cluster, which will be your single point of failure.

Most people look into this presuming it costs about twice the price of hosting with one server; in reality depending on your reasons, your site(s) and other issues, it can easily cost ten times or more what a single server might cost.

Jeff
 
fwpeter, was there actually a set of instructions in there on how to actually do the loadsharing? If so, then I didn't see it.

Yes, it's there partly. The website contains a lot of documentation. So 'txn' should be read the relevant parts and decide whether he find this useful.
 
fwpeter, was there actually a set of instructions in there on how to actually do the loadsharing? If so, then I didn't see it.

txn,

If all your sites are or will be static sites, and NO sites use mysql, then this is simply a matter of setting up the two servers with the same users and sites. Then on each of the servers set DNS to be authoritative for the domain, pointing to an IP# on the same server. Use both nameservers at the registrar when you set up the domain.

I've posted this method before; search these forums for better instructions and for the reasons why and how this works.

Of course you're responsible for figuring out how to get the same content on both servers, and if both servers are going to be handling mail then each user will have to be able to get the mail off both servers.

If any sites use MySQL then this becomes a lot more complex; all sites have to have their MySQL use replicated across both servers. You can check with the MySQL forums on ways to do this.

And if you want to use true load-balancing and replication, you'll need at least one additional server or high-availability cluster, which will be your single point of failure.

Most people look into this presuming it costs about twice the price of hosting with one server; in reality depending on your reasons, your site(s) and other issues, it can easily cost ten times or more what a single server might cost.

Jeff

Hi Jeff,

Yes, all i want is just a second email server for my current domain, but i can't find your post about these instruction. Thanks
________
Volcano Vaporizer
 
Last edited:
Hello,

There is a lod balancer unit to do this. I have done it in my dedicated servers. You need a programmer to configure mysql and e-mail settings and all other non-static things seperately.
 
Yes, all i want is just a second email server for my current domain, but i can't find your post about these instruction. Thanks
No matter, because my instructions won't help you with a second email server.

Jeff
 
Back
Top