Dec 21, 2010
12
0
51
i got two reseller accounts..from different ip's

i want to know..is it possible to host a website on two servers but have one domain..
so if one server is down. the second one should b up and running??

if so please can any one guide me how to make it possible..

also my site is uploading and downloading my university notes and assigments and lectures.. and it have database..
so when site update..it should update on both servers..

looking forward to replies and guidelines..
 
Last edited:

JeffP.

Well-Known Member
Sep 28, 2010
164
15
68
Hi pakistanihaider,

i want to know..is it possible to host a website on two servers but have one domain..
so if one server is down. the second one should b up and running??
Yes; this is called Round Robin DNS. It's actually a fairly straightfoward concept. You just need to create an additional "A" record (IP address) in DNS for your domain that points to the other server. For example, if you had hosting at 2 different places for your domain "example.com", and if host 1 placed that domain on the IP address 1.1.1.1, and host 2 used 2.2.2.2, then you would want to make sure that the nameservers responsible for example.com contained 2 "A" records - 1 for each IP address (the default is 1 "A" record, since your site only exists on 1 IP address by default).

also my site is uploading and downloading my university notes and assigments and lectures.. and it have database..
so when site update..it should update on both servers..
This is also possible, and is known as Replication. This is somewhat of an advanced topic, and until you're fairly comfortable with MySQL and the documentation provided, a simpler alternative may be to create frequent database backups and have them stored off site, on another server. For example, they could be copied via FTPS, SCP, rsync, etc.
 
Dec 21, 2010
12
0
51
Gosh...its so difficult..:confused::confused:

I have 0(Zero) knowledge about how this happens..so with your help can i do it soon or i will need to find an alternative method??


Is there any tutorial video or document that i can follow?? sorry i am really newbie in this.. :eek:

Will b great favour if you help me regarding this..