Self created Laravel Link doesn't works

twitter logo ・1 min read

I installed laravel 6.0 through composer and tried to create own link as blog.laravel.com by changing vhosts file as

DocumentRoot "C:/xampp/htdocs" ServerName localhost

DocumentRoot "C:/xampp/htdocs/blog/public" ServerName blog.laravel.com

and C:\Windows\System32\drivers\etc\host file as localhost blog.laravel.com

but now instead of showing blog.laravel.com page my browser redirecting me to https://blog.laravel.com/dashboard/ page

What should I do?

twitter logo DISCUSS (2)
markdown guide

It's more of a server configuration issue then laravel.


Simple, rewrite this question on StackOverflow.
and you'll get help

Classic DEV Post from Jan 1 '19

πŸ“¦ webpack secrets

Things you can do πŸ”¨ with webpack πŸ“¦ that you might not be aware of.

Saba profile image