Incase you receive "Forbidden you don't have permission to access" message while setting up the virtual host on the new machine - you can take following steps:
#Take backup of httpd.conf before modifying → cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.bak.conf #Open the httpd.conf on vim or nano → sudo vim /etc/httpd/conf/httpd.conf
<Directory />
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
selinuxenabled sudo setenforce 0
→ sudo apachectl restart
On most of the case above steps will fix the problem. However, If it is still displaying the "Forbidden ... " message then check /var/log/httpd/error.log and take necessary actions.