jazuly
By:
jazuly

How to host single website on multiple server?

October 22, 2015 1.5k views
Server Optimization Nginx

im using Ubuntu 15.04 x64 & Nginx.

3 comments
  • @jazuly - What specifically are you looking to achieve and what specifically are you looking to offload to separate servers? Knowing a bit more about your intended or current setup will help us to provide a few solutions.

    In general, are you looking to use Server #01 for NGINX/PHP, Server #02 for MySQL, Server #03 for [insert software/application]? The more specific the better.

  • @jtittle yes, for example server #01 for NGINX/PHP and server #02 for MySQL & insert software/application, how to make it?

    sory im using google translate :D
  • @jazuly - It just so happens I was sharing this link with another member of the community! Check the link below -- it'll go over how to setup a remote MySQL server (first step) and then how to go about setting up NGINX. This specific guide using WordPress, though you can sub WordPress for any application.

    https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-database-to-optimize-site-performance-with-mysql

    by Justin Ellingwood
    When your site begins to get more visitors, you may have to think about how to handle the additional traffic. One easy way of doing this is to separate your database operations from your web server so that each can handle its own load. In this guide, we'll demonstrate how to do this for a WordPress site built on Nginx by configuring a remote MySQL database.
1 Answer

This question was answered by @jtittle:

@jazuly - It just so happens I was sharing this link with another member of the community! Check the link below -- it'll go over how to setup a remote MySQL server (first step) and then how to go about setting up NGINX. This specific guide using WordPress, though you can sub WordPress for any application.

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-database-to-optimize-site-performance-with-mysql

View the original comment

by Justin Ellingwood
When your site begins to get more visitors, you may have to think about how to handle the additional traffic. One easy way of doing this is to separate your database operations from your web server so that each can handle its own load. In this guide, we'll demonstrate how to do this for a WordPress site built on Nginx by configuring a remote MySQL database.
Have another answer? Share your knowledge.