Solved

Mirror a PHP/MySQL site

Posted on 2006-10-31
3
247 Views
Last Modified: 2010-04-20
I have a nice reliable (underused) server at Rackspace.  I offered to host a site there for someone, because it's a site I use a lot, and it tends to go down regularly (bad hosting).  It's a PHP/MySQL site, and he'd rather that I mirror it rather than just host it.  Sounds fine to me, but how do you go about setting that up?  Also, is there a way to make his DNS point to my server if his goes down?
0
Comment
Question by:aaroncampbell
  • 2
3 Comments
 
LVL 5

Expert Comment

by:flashwebhost
ID: 17853933
To mirror MySQL, you need special setup, can only done if both servers are dedicated with root access. For web part, you can add one more A record for the domain  and point that to your servers IP. Also edit the DNS Record of the domain and reduce the TTL.

You need to move the DNS of the domain to a different server or use thrid party DNS service like www.ZoneEdit.com

0
 

Author Comment

by:aaroncampbell
ID: 17861433
Both servers are dedicated, with root access.
0
 
LVL 5

Accepted Solution

by:
flashwebhost earned 150 total points
ID: 17873513
You can see how to cluster MySQL database at

http://dev.mysql.com/doc/refman/5.0/en/mysql-cluster-quick.html

This is not easy to do, you need to spend some time and need resources to get this  done.

It will be better to use a dedicated server for MySQL that way server load can be shared.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help Fix A 403 error 13 103
Two nodes for updates and forwarding 8 51
PHP in Apache server 20 88
System Analysis 5 51
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
A short film showing how OnPage and Connectwise integration works.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now