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

August 15, 2015 1.1k views
WordPress Apache CentOS

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.

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

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

Have another answer? Share your knowledge.