Hello everyone! Need some advice from the community.
The story:
I have several websites, all of them powered by WordPress. 2 are large news portals with lots of images (one currently has 18Gbs of images and 82Mb db, the second is much younger and has only 600Mb of pictures and 3Mb db). All other sites are small minimalistic blogs or kind of “static” small websites with WP backend and low traffic. Here’s the “infrastructure” I’m considering:
Questions:
Thanks in advance!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
<blockquote>1. What’s better - Apace, Nginx, Apache with Nginx for static files in front of Apache? </blockquote>Nginx. <br><blockquote>2. Is it a good idea to use memcached on 512/1024Mb droplets?</blockquote> I don’t see why not. <br><blockquote>3. What’s better - 2 news sites on 2 separate 1024Mb droplets or both on one 2048Mb droplet? </blockquote>That depends on many factors, but hosting them on one droplet should be fine. <br><blockquote>4. Does it makes sense to have those 2 news websites on separate droplets (or single more powerful - see 3.) and 1 extra droplet just for MySQL? </blockquote>I would move MySQL (you should look into using MariaDB instead, which is a drop-in replacement of MySQL) to its own droplet and use it for all of the sites.
Kamal, thank you for the reply! I’m already convinced to move from Apache to Nginx and use a separate droplet for database. Other questions seem to be less important and it’s pretty easy to make changes later and move sites from one droplet to another.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.