Go Back   Web Hosting Forums > Webhosting Forums > Co-Location

Co-Location Choosing a datacenter and technical provider, hardware, and other co-location discussions.

Reply
 
Thread Tools Search this Thread
  #1 (permalink)  
Old 18-03-2007, 10:04 AM
Junior Member
 
Join Date: Jan 2007
Posts: 26
Default mirrioing of sites

How do u mirror a site when you have hostd it in two diffrent locations. and do u have to upload the updates in diffrent servers or single upload does all, i really have some confusion of these things
Reply With Quote
  #2 (permalink)  
Old 19-03-2007, 12:03 AM
Super Moderator
 
Join Date: Mar 2006
Posts: 454
Default Re: mirrioing of sites

What are you using for the mirror? If it's 2 seperate servers, then the other will have no knowledge of the other unless you have specifically coded a mirrored solution so will have no idea that the content needs to be replicated.
__________________
Alex Monaghan - Monaghan Consultants Ltd
Web hosting, ADSL & more
Custom Web hosting (UK or USA)
Mobile Ringtones, Games & more
Reply With Quote
  #3 (permalink)  
Old 19-03-2007, 10:22 AM
Junior Member
 
Join Date: Jan 2007
Posts: 26
Default Re: mirrioing of sites

Thats what i am too asking , whats the code for mirrioring
Reply With Quote
  #4 (permalink)  
Old 19-03-2007, 11:04 AM
Super Moderator
 
Join Date: Mar 2006
Posts: 454
Default Re: mirrioing of sites

upload it twice and set round-robin DNS would be a simple mirror for a static site, without knowing what your requirements are though it's difficult to know what to suggest. Database driven sites are more complex as you'd need to establish a 2 way replication of data.
__________________
Alex Monaghan - Monaghan Consultants Ltd
Web hosting, ADSL & more
Custom Web hosting (UK or USA)
Mobile Ringtones, Games & more
Reply With Quote
  #5 (permalink)  
Old 21-04-2007, 02:50 AM
aquariancore's Avatar
Senior Member
 
Join Date: Jan 2007
Posts: 215
Default Re: mirrioing of sites

would .htaccess help with the mirroring of sites? (I hope I did that right)
Reply With Quote
  #6 (permalink)  
Old 21-04-2007, 08:28 AM
Super Moderator
 
Join Date: Mar 2006
Posts: 454
Default Re: mirrioing of sites

I doubt it, the problem with mirroring is keeping the content in sync, with a static site this is not too difficult, with a data driven site you need to look at database replication, potentially in real time. You also need to consider how you will handle session data as potentially page 1 could be read from server A, then post data back which will get handled by server B. Lots to think about even if you're mirroring on the same subnet, mirroring over 2 or more datacenters is even more fun
__________________
Alex Monaghan - Monaghan Consultants Ltd
Web hosting, ADSL & more
Custom Web hosting (UK or USA)
Mobile Ringtones, Games & more
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 04:20 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.