Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So i have a unix dedicated server and multiple ips. I am running a website on both ip address.

How do i make it so the files and folders on both ip addresses are synchronized? If i update index.php on the first ip, i want the change to be updated on the second ip. Any ideas?

share|improve this question

closed as not a real question by MikeyB, mdpc, Skyhawk, Chris S, ceejayoz Nov 8 '11 at 4:42

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

In the immortal words of Charles Babbage, "I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." – jgoldschrafe Nov 8 '11 at 0:54
@mdpc if you assume a /24 it's not, but if it's a /23 it certainly is. – MDMarra Nov 8 '11 at 0:56
@Ben, welcome to Server Fault! This is a community by System Administrators, for System Administrator (et al) only. You should contact your hosting provider for questions like this. For more details on Server Fault please see the FAQ and How to Ask. Thank you! – Chris S Nov 8 '11 at 3:51
@Chris Erm, doesn't look like the OP has a hosting provider unless you want to say apache/nginx is – TheLQ Nov 8 '11 at 5:42
@TheLQ Guessing by him using the term "Unix dedicated server" I'm certain he purchased a plan through a hosting provider. If he was running Linux, FreeBSD, Solaris, etc on his own box he would have used the specific operating system name and wouldn't call it a dedicated server. – Chris S Nov 8 '11 at 13:36

Just make your webserver serves the same content for both IPs.

share|improve this answer
Yep. Nothing tricky here. Move along. – MDMarra Nov 8 '11 at 1:33
@mikeyB, how do i make my webserver serve the same content? What is the process for that? – Ben Nov 8 '11 at 1:55
You have two IPs on the same server. Just configure your web server (apache? nginx?) to answer of both IPs with the same virtual host. – MDMarra Nov 8 '11 at 2:42

If you are running on the same server, and use the same web server, then you are synchronized.

share|improve this answer
Unless he has both IPs pointing to different site roots for some reason. – MDMarra Nov 8 '11 at 2:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.