Solved

Mirror a PHP/MySQL site

Posted on 2006-10-31
3
251 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 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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