|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
||||
|
||||
|
Hi, I'm not sure I'm in the right forum for this ...
![]() but here goes: How to setup a mirror site? does it have anything to do with the secondary DNS IP address? Thanks first! |
|
#2
|
||||
|
||||
|
Nope. Secondary DNS is a "mirror" for your DNS server. You want a mirror for your website. If 2 servers handle your website domain, then you need to specify 2 IP addresses for your domain. Then boom, when people resolve your domain, sometimes they'll go to one IP, sometimes the other.
__________________
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 |
|
#3
|
||||
|
||||
|
Kudos, you make it sound so easy. But a little more details please ... haha I'm fish out of water with this ...
So what I do is get 2 IP addresses with two web hosts. Then go to Network solutions.com, and enter both IPs there to point to my site files? Thanks |
|
#4
|
||||
|
||||
|
This is the steps:
1) You pay the huge price to register "yourdomain.com" with network solutions. 2) Then with their free management, you add 2 'A' records for "www.yourdomain.com" where each points to one of your webserver's IP's. 3) Then you add 2 'A' records for "yourdomain.com" so that people don't have to type the "www" when going to your website. This assumes that you have 2 webservers where each has identical content for your domain. This is full mirroring. Many websites just do partial mirroring for like downloads. |
|
#5
|
||||
|
||||
|
Thanks so much, this information is really hard to come by on the net or even in web design books.
You know Silent Rage, you could add this info to your site (for full mirroring and partial of couse ). I was searching google for answers before coming here. No accurate results from google.You're the best SilentRage, thanks again. |
|
#6
|
|||
|
|||
|
Now you mention setting up two A records, I thought round robins were setup using CName records. so the one domain could resolve to two different IP's.
I was thinking about doing this... Need to figure out how to have my 2nd server mirror the first so they visit the site and its up-to-date.. perhaps u can explain how your doing it bambam. |
|
#7
|
||||
|
||||
|
The site i'm working on that needs this is a static site, no DB involved, so updates which is not frequent I will just upload manually to two servers.
For sites that depend on DB heavily, I'm not too sure how to, trininox. But, I want to find out about that, will place a link here if I do. If anyone has any info on that, please guide, thanks! |
|
#8
|
||||
|
||||
|
All CNAME's do is point a domain to the information found at another domain. Kind of like a link.
As far as BIND is concerned, they don't support full round robin yet. What they do is randomly select one of the IP's configured for a domain and list all those IP's in order from that point down then wrapped around from the top. BIND calls this "random-cyclic order" |
|
#9
|
||||
|
||||
|
Hey trininox, for DB replication visit here:
http://www.mysql.com/doc/en/Replication.html thanks to cbunting http://forums.devshed.com/t31681/s.html |
|
#10
|
|||
|
|||
|
Thx
Thanks, Now how to setup a slave linux machine to mirror the other, i think this is done through Cronjob or Rsync.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Mirroring Site question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|