This is a short and easy tutorial to change localhost to custom domain name (Laravel Project).
Steps:
1. Download Xampp https://www.apachefriends.org/de/inde...
2. Open hosts file (File location: C:\Windows\System32\Drivers\etc\hosts)
Add: 127.0.0.1 app.blog.local
3. Open httpd-vhosts.conf (File location: C:\xampp\apache\conf\extra\httpd-vhosts.conf)
Add:
(Angle brackets)VirtualHost *:80(Angle brackets)
ServerAdmin app.blog.local
DocumentRoot "C:\xampp\htdocs\blog\public"
ServerName app.blog.local
(Angle brackets)/VirtualHost(Angle brackets)