<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1040022" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1040022</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-hosting-and-domain-names/hosting-one-site-two-servers#comment-1225968</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;tm1;225923 wrote:&lt;/strong&gt; This is intended as a backup or failsafe - my thoughts are that if one of the two servers are down, the remaining dns entries would point to the other server for the site to be retrieved&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I presumed you wanted this purely as a backup only for when the main server is down&lt;/p&gt;
&lt;p&gt;although it&#039;s used for various things, multiple servers with load balancing is &#039;usually&#039; used when a website requires more power/juice than one server can efficiently handle&lt;br /&gt;
if there are many simultanious connections for example, apache has limitations&lt;/p&gt;
&lt;p&gt;but you stated you already have more than one server, so perhaps you have space to do this where it wouldn&#039;t be extra costs (or small cost, whatever)&lt;br /&gt;
If that&#039;s the case, and it&#039;s only a reserve server used ONLY when the main server is down, then you can manually update the backup db&lt;br /&gt;
that is a pain though, and there are automated options&lt;/p&gt;
&lt;p&gt;but one thing to consider is when (if) the main server goes down, anything on the backup site that uses data from the DB that is user inputted wont be on the back up server since the last backup&lt;br /&gt;
so if a backup was done at 10pm and a user registers at 10:30pm, and downtime happens before another backup is done that user wont have access to their account on the backup site &lt;/p&gt;
&lt;p&gt;As you say the hosts you have are reliable, you should consider what is the likelyhood of downtime, and how many users you expect to update their DB details or register (or whatever you have that is stored in the DB from user input)&lt;/p&gt;
&lt;p&gt;So then you could consider limiting the backup site for accessing only, by that I mean users can use the features that use the stored data from the DB (or whatever) but nothing can be changed/updated in the DB&lt;br /&gt;
I have no idea of what is on your site, but perhaps that will work in your circumstance&lt;/p&gt;
&lt;p&gt;if you have many members and many features which use DB data from user input then you might want to consider something more stable and more frequent for them&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Nov 2007 20:28:32 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1225968 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-hosting-and-domain-names/hosting-one-site-two-servers#comment-1225967</link>
    <description> &lt;p&gt;Thanks a million greg and pr0gr4mm3r.&lt;/p&gt;
&lt;p&gt;Yes, the idea is/was to load balance and have reserve access to a site if one server was to be down.  &lt;/p&gt;
&lt;p&gt;The thought was to have one server in the UK and the other in the US both running the same site (I currently have hosting accounts in both countries which, for the last year or so, has had minimal disruption).&lt;/p&gt;
&lt;p&gt;Greg, I overlooked the obvious in relation to membership databases - very glad you highlighted that point.&lt;/p&gt;
&lt;p&gt;I &lt;em&gt;was&lt;/em&gt; aware that the databases would have to be 100% replicas of oneanother - that may be a challenge in itself!&lt;/p&gt;
&lt;p&gt;Thanks guys. . . I knew I could rely on some good advice!&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Nov 2007 18:02:50 +0000</pubDate>
 <dc:creator>tm1</dc:creator>
 <guid isPermaLink="false">comment 1225967 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-hosting-and-domain-names/hosting-one-site-two-servers#comment-1225960</link>
    <description> &lt;p&gt;Looks like you are trying to load balance your site.  You can do it the DNS way like you mentioned.  This article explains it better:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://content.websitegear.com/article/load_balance_dns.htm&quot; class=&quot;bb-url&quot;&gt;http://content.websitegear.com/article/load_balance_dns.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Some More information that can help you out (may get a bit technical):&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://content.websitegear.com/article/load_balance.htm&quot; class=&quot;bb-url&quot;&gt;http://content.websitegear.com/article/load_balance.htm&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://forum.cheapbooks.com/index.php?showtopic=354&quot; class=&quot;bb-url&quot;&gt;http://forum.cheapbooks.com/index.php?showtopic=354&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Nov 2007 14:23:44 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1225960 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-hosting-and-domain-names/hosting-one-site-two-servers#comment-1225957</link>
    <description> &lt;p&gt;Without remote accessing other servers or mysql DB&#039;s, as you never said that is what you wanted, you are effectively running a seconds site, 100%&lt;br /&gt;
just the same as if one site was all about car racing and the other site was all about how to cook the perfect roast chicken&lt;br /&gt;
they are seperate&lt;/p&gt;
&lt;p&gt;So whatever server a user is pointed to/sent to/accesses they will be served the files from that server&lt;br /&gt;
so the PHP code will be used on the server they are on, and the DB will be on the server they are on&lt;br /&gt;
and the DB will be accessed with those PHP files on that same server&lt;/p&gt;
&lt;p&gt;if you backup the DB from the current server and then on the second server import it, all the table names, table fields, data etc will be exactly the same&lt;br /&gt;
the db name is likely to be slightly different though, as some servers create db names with a specific name first&lt;br /&gt;
like  hostwebsitename_yourdbname&lt;/p&gt;
&lt;p&gt;So I guess all you need to change is the mysql username/password/location and possible db name as appropriate for the second server, in your php file that specifies all this&lt;/p&gt;
&lt;p&gt;if you have user input that is saved in the db, such as member registration/log in then that is entirely different&lt;br /&gt;
as they will only register with the server they are on, and their details will only be saved in that servers DB&lt;br /&gt;
and if they one day are sent to the other server, their details will not be in the DB&lt;/p&gt;
&lt;p&gt;you are probably better off getting a decent reliable host in the first place, then any downtime will be minimal&lt;br /&gt;
and save you running two servers with double the cost for those few hours a month you might have downtime&lt;br /&gt;
is that really worth it?&lt;br /&gt;
if you dont have a reliable host I can point you towards one my site uses, which is a remarkable service (not affiliated with me whatsoever)&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Nov 2007 13:40:05 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1225957 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
