Individual Virtualhost Directives Configuration Files

Individual Virtualhost Directives Configuration Files

Since I didn’t want to have to make 60+ conf files while testing I temporarily moved all the virtualhost directives to a single file “/etc/httpd/conf.d/virtualhosts.conf” (none were left inside httpd.conf) and put the domain mapped directives within “/etc/httpd/conf.d/0virtual-light.com.conf” so when I viewed the folder it looked like this:

0virtual-light.com.conf (had to be the first alphabetically)
domain1.com.conf
domain2.com.conf
domain3.net.conf
domain4.co.uk.conf

Continue Reading How to Install Free SSL Certificates Using Let's Encrypt and Certbot