MattW
Well-known member
I've decided to ditch the mega expensive VPS I had, as it was hardly being tickled with the sites I had on there.
I've split the hosting I do up until 4 smaller droplets from DigitalOcean now.
3 X 2GB droplets
1 X 512M droplet (testing / play VPS)
I've put all my shared hosting that I do for people onto a single 2G droplet, installed Cpanel as they all like using that! I've left is pretty standard, and not messed about with it (just Xcache for the forums on there, no nxinxcp or percona).
That's now humming along nicely for them:
For me own site, purely because I wanted to mess about a bit, I've split it over 2 x 2GB droplets. nginx web server, and Percona 5.6 database server.
Spent last night and today configuring them both up, and then moved the site over earlier this afternoon.
It's marginally slower than the old VPS setup, but that had 14CPU cores. The new ones have 2 cores each (that's why I went with 2 X 2GB).
I've got elasticsearch and memcache on the web server, along with APC for OPCode caching. Will see how it pans out, but might move back to Xcache.
I've really enjoyed setting them up, and learned loads on how to configure nginx, especially now you can't just use .htaccess to enable SEO urls.
Example with OpenCart which I use for my online shop
I've split the hosting I do up until 4 smaller droplets from DigitalOcean now.
3 X 2GB droplets
1 X 512M droplet (testing / play VPS)
I've put all my shared hosting that I do for people onto a single 2G droplet, installed Cpanel as they all like using that! I've left is pretty standard, and not messed about with it (just Xcache for the forums on there, no nxinxcp or percona).
That's now humming along nicely for them:
For me own site, purely because I wanted to mess about a bit, I've split it over 2 x 2GB droplets. nginx web server, and Percona 5.6 database server.
Spent last night and today configuring them both up, and then moved the site over earlier this afternoon.
It's marginally slower than the old VPS setup, but that had 14CPU cores. The new ones have 2 cores each (that's why I went with 2 X 2GB).
I've got elasticsearch and memcache on the web server, along with APC for OPCode caching. Will see how it pans out, but might move back to Xcache.
I've really enjoyed setting them up, and learned loads on how to configure nginx, especially now you can't just use .htaccess to enable SEO urls.
Example with OpenCart which I use for my online shop
Code:
location /shop/ {
try_files $uri @opencart;
}
location @opencart { rewrite ^/shop/(.+)$ /shop/index.php?_route_=$1 last; }
location ~ /\.ht { deny all; }
location ~* (\.(tpl|ini))$ { deny all; }
if (!-e $request_filename) { rewrite ^/shop/(.*)$ /shop/index.php?_route_=$1 last; }