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

Posted August 15, 2015 4k views

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?


1 comment
  • What’s alternative to Virtual Hosts?
    Of course, you can do something nasty like:

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.

Submit an Answer
1 answer

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).