Create Virtual Host in CentOS 7

In this tutorial we are going to learn how to create virtual host in centos7

Follow below steps

1.create site-enabled folder and virtual host file in etc/httpd/ path
2.add IncludeOptional sites-enabled/*.conf in httpd/config/httpd.conf
3.create a file in etc/httpd/site-enabled/
4.paste below code in

5.create a index.html file in /var/www/html/laravelnew/public path
6.register in host in etc/host file
7.Restart Apache : sudo apachectl restart