-2

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

192.168.1.0
192.168.1.1

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?

Ben
  • 107
  • 12
    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 08 '11 at 00:54
  • 2
    @mdpc if you assume a /24 it's not, but if it's a /23 it certainly is. – MDMarra Nov 08 '11 at 00:56
  • @Ben, welcome to [SF]! 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 [SF] please see the [FAQ] and [ASK]. Thank you! – Chris S Nov 08 '11 at 03:51
  • @Chris Erm, doesn't look like the OP *has* a hosting provider unless you want to say apache/nginx is – TheLQ Nov 08 '11 at 05: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 08 '11 at 13:36

2 Answers2

4

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

MikeyB
  • 39,291
  • 10
  • 105
  • 189
0

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

mdpc
  • 11,856
  • 28
  • 53
  • 67