Mobile app version of vmapp.org
Login or Join
Odierno851

: Vhosts on Apache Web Server. All in one or in separate .confs I am trying to have multiple websites hosted on one server, but do not know for sure if I should create the Virtual Hosts for

@Odierno851

Posted in: #Apache #Vhost #Virtualhost

I am trying to have multiple websites hosted on one server, but do not know for sure if I should create the Virtual Hosts for each website contained in one file or have each of them in their own separate files.

All help is appreciated.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Odierno851

1 Comments

Sorted by latest first Latest Oldest Best

 

@Moriarity557

This is really personal preference. There are pros and cons to each. By putting them all in one file you have one place to look for configuration information. BY putting them in separate files, with names based on the domain, it is easy to do an ls (assuming UNIX/Linus) and see the domains that are hosted on the server.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme