xxxxxxxxxx
#Step 1
Open "C:\xampp\apache\conf\httpd.conf" file and add the code at the bottom:
<VirtualHost yourwebsite.local:80>
DocumentRoot "C:\xampp\htdocs\yourwebsite"
ServerAdmin yourwebsite.local
<Directory "C:\xampp\htdocs\yourwebsite">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
# Step2
Open "C:\Windows\System32\drivers\etc\hosts" file
And add this one below:
127.0.0.1 yourwebsite.local