Ubuntu server 12. Apache, MySQL, PHP
I've only ever used Apache. I know how to set up the Virtual Hosts and all that. But I have no idea how to add NGINX to the mix and not ruin everything.
I'm playing with a testing server, so it's ok if something goes down temporarily. What I would like to do is have ONE (or a few) of the testing sites on the server use NGINX while the others still use Apache. Is that even a thing? Can I use both on one server?
If not, then what I'd like to do is be able to switch between using Apache and NGINX serverwide. Could I install NGINX and easily switch between the two?
e.g. could I just stop Apache, start NGINX and have everything work smoothly (assuming NGINX is configured properly)?
I'm about to install nginx and I just want to make sure it doesn't break any existing configurations.