DEV Community

Saba
Saba

Posted on

Self created Laravel Link doesn't works

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

127.0.0.1 localhost 127.0.0.1 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?

Top comments (2)

Collapse
 
benyou1324 profile image
Mansour Benyoucef ☕

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

Collapse
 
msamgan profile image
Mohammed Samgan Khan

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