DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old January 25th, 2004, 12:42 PM
bambam's Avatar
bambam bambam is offline
macho member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 207 bambam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 40 sec
Reputation Power: 6
Question Mirroring Site question

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!

Reply With Quote
  #2  
Old January 25th, 2004, 12:58 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
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

Reply With Quote
  #3  
Old January 25th, 2004, 02:20 PM
bambam's Avatar
bambam bambam is offline
macho member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 207 bambam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 40 sec
Reputation Power: 6
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

Reply With Quote
  #4  
Old January 25th, 2004, 03:05 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
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.

Reply With Quote
  #5  
Old January 26th, 2004, 12:41 AM
bambam's Avatar
bambam bambam is offline
macho member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 207 bambam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 40 sec
Reputation Power: 6
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.

Reply With Quote
  #6  
Old January 26th, 2004, 11:41 AM
trininox trininox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 42 trininox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via ICQ to trininox Send a message via AIM to trininox
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.
__________________
-Trininox
http://gto.dynu.com

Reply With Quote
  #7  
Old January 26th, 2004, 02:46 PM
bambam's Avatar
bambam bambam is offline
macho member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 207 bambam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 40 sec
Reputation Power: 6
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!

Reply With Quote
  #8  
Old January 26th, 2004, 05:55 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
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"

Reply With Quote
  #9  
Old January 28th, 2004, 06:28 AM
bambam's Avatar
bambam bambam is offline
macho member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 207 bambam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 40 sec
Reputation Power: 6
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

Reply With Quote
  #10  
Old January 29th, 2004, 10:57 AM
trininox trininox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 42 trininox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via ICQ to trininox Send a message via AIM to trininox
Thx

Thanks, Now how to setup a slave linux machine to mirror the other, i think this is done through Cronjob or Rsync.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Mirroring Site question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway