I tried to set up virtual host in xampp for my website. For this I set host file like:
127.0.0.1 siteurl
I am adding code in httpd-vhosts.conf file:
<VirtualHost *:80>
ServerAdmin webmaster@localhost.com
DocumentRoot "C:/xampp/htdocs/foldername"
ServerName siteurl
<Directory />
AllowOverride none
Require all denied
</Directory>
</VirtualHost>
After that put the siteurl in browser then, I got the xampp dashboard. How can I get my website by entering my siteurl. can you please help me anyone.