#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Sibiu, Romania
    Posts
    176
    Rep Power
    15

    Question setup a site mirror


    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. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    #1) Randomly
    #2) Just to name a few: rsync, cvs, and mod_proxy in Apache
  4. #3
  5. DNS/BIND Guru
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2003
    Location
    OH, USA
    Posts
    4,266
    Rep Power
    176
    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
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Sibiu, Romania
    Posts
    176
    Rep Power
    15
    Originally posted by freebsd
    #1) Randomly
    #2) Just to name a few: rsync, cvs, and mod_proxy in Apache
    #2 -> can you give me more details pls or some documentation about miroring ... I searced the net but i found nothing

    10x

    see ya
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> 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.

IMN logo majestic logo threadwatch logo seochat tools logo