how to host my site on many vps?

Posted on

how to host my site on many vps? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, apache-2.2, centos, vps, dedicated-server.

i have a php search engine, running on apache, hosted on centos 5 vps, no mysql, nothing really, just a bunch of php files, i have in average 600 visitors, i need more bandwidth, i want to host my site on 4 vps to distribute the bandwidth, the question is how?

my vps is really cheap, so i don’t want to change my provider, i just want to know how to host a website on many vps, that’s all

Solution :

ahans already mentioned “Poor man’s load-balancing” (a. k. a. DNS round robin) in the comments. This is the easiest possibility given your web site is stateless and doesn’t rely on data (like user state) being preserved over requests. As soon as you have server side session data you’ll need to synchronize that between your servers or use “sticky sessions” (always server a single user’s requests from the same system).

Additionally you could split up the assets of your site (e. g. static pages, images, CSS, etc.) and have them served by a separate server with a high caching time out so that clients fetch them once and keep them for a longer period of time.

Leave a Reply

Your email address will not be published. Required fields are marked *