|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Hello ppl,
since a while I'm thinking on creating a miror for my site , but I don't know exactly what I should do, I have some question for you. #1 About the nameserver, if I set my primary nameserver ns.host1.com and secondary nameserver ns.host2.com : when host1.com will be offline (hope never) all the request to my site are sent to secondary nameserver , host2.com ???? if an user is geographic closer to host2.com will be automatcly sent to that miror(host2.com) or will see the site from host1.com ? geographic closer I mean if the user is from europe, the mirror is in europe too and the main site is in the USA . #2 is there some tool to make an automatic update of the mirror, files and database (MySQL) ??? or I should create a script which will compare the directories of the mirror with the main site , and for database the same thing something to compare bouth databses. ??? any help will be apreciated 10x in advance see ya all |
|
#2
|
|||
|
|||
|
#1) Randomly
#2) Just to name a few: rsync, cvs, and mod_proxy in Apache |
|
#3
|
||||
|
||||
|
As for the ns1 and ns2 where one is offline...
As freebsd said, the server that is used to resolve a request for your domain is chosen randomly. Now, resolvers SHOULD try the next server if the one it chose failed. So, theoretically your domain will continue to resolve just fine if one of the servers is down. However, there have been times in the past where a website domain didn't resolve and I checked out the DNS to see why and found that 2 of 3 dns servers were down for that domain, but I could still resolve with the one remaining - but only "manually". So I strongly recommend that you do NOT include tricky dns servers as authoritative for domains that are not tolerant to downtime.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links: Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts |
|
#4
|
|||
|
|||
|
Quote:
#2 -> can you give me more details pls or some documentation about miroring ... I searced the net but i found nothing ![]() 10x see ya |
|
#5
|
|||
|
|||
|
>> I searced the net but i found nothing
Tell us what exact search keyword did you use. Or simple enough, just do it yourself by using the combine search keywords rsync cvs mod_proxy mirroring at google. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > setup a site mirror |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|