Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Mirror a PHP/MySQL site

Posted on 2006-10-31
3
Medium Priority
?
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 600 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

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

604 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