Question

Is there any benefit of Apache Virtual Host if you are going to use a single domain?

In my understanding Virtual Host is used to assign multiple domains to one IP address.

I am setting up a single droplet for 4-5 personal web apps and a WordPress blog. Is there any benefit in separating those into separate Virtual Hosts?

Thanks.

Subscribe
Share

What’s alternative to Virtual Hosts? Of course, you can do something nasty like: yourdomain.some/app1 . . . yourdomain.some/app5


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

A VirtualHost will be required to assign single domains to each corresponding WordPress app on the server once a connection is made (routing the request to a particular application directory to serve the site).