Looking for best practices to running multiple sites from a single droplet.
I’ve followed instruction to setup a standard LAMP stack but have been suggested to use nginx for managing virtual hosts; which is causing problems with apache running.
Should I use both Apache and nginx? If just nginx, how does that work with a LAMP stack? What should I do to disable Apache sites-available and sites-enabled?
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!
You should use either Apache OR Nginx, using both at the same time can become a headache, while it can be done. <br> <br>Watch these tutorials for more info, they should be a help. <br>Installing LAMP: http://www.youtube.com/watch?v=JvKrsOJY-iY <br>Setting up your domain name: http://www.youtube.com/watch?v=FZ7CsNykw9c <br>Setting up Apache: http://www.youtube.com/watch?v=sxK_tqwPpO0 <br> <br>If you have any questions, just reply! <br>
Forgot to mention, those links I gave you were for setting up Apache. If you want a Nginx install tutorial, I suggest for you to watch these two: http://www.youtube.com/watch?v=yU5YcNmfY7o, http://www.youtube.com/watch?v=0CzajTTq1rw. <br> <br>Again, if you have any questions, just reply!
I’ve had folks suggest I use nginx based upon performance; I’ve previously run a simple LAMP stack with apps like WordPress in the past, if I’m moving from a managed server to a VPS for the first time, what makes the most long-term sense? <br> <br>In other words, what reasons should I look to run Apache instead of nginx (which seems to be what most of my peers are recommending)?
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.