how to configure httpd in linux 7 virtual domain code example
Example 1: how to create a virtual host in centos
sudo mkdir -p /var/www/example.com/public_html
sudo mkdir -p /var/www/example2.com/public_html
Example 2: how to create a virtual host in centos
sudo chmod -R 755 /var/www