How To Set Up Apache Virtual Hosts on CentOS 7

install apache yum -y install httpd Create the Directory Structure mkdir -p /var/www/example.com/public_html mkdir -p /var/www/example2.com/public_html Grant Permissions chown -R $USER:$USER /var/www/example.com/public_html chown -R $USER:$USER /var/www/example2.com/public_htm   ensure that read access is permitted to the general web directory chmod -R… Continue Reading