I am using XAMPP to host the laravel project. I was able to access the project normally by running localhost/laravel-test/public in browser. The problem I faced is unable to access the project by using localhost subdomain.
It return me to https://test.laravel-test.com/dashboard/
I have add line below to window hosts file.
127.0.0.1 test.laravel-test.com
and the following to XAMPP apache httpd-vhosts.conf file.
<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\laravel-test\public"
ServerName test.wallet.com
ServerAlias test.wallet.com
</VirtualHost>
FYI I have tried to create a new laravel project and it works fine with the subdomain which makes me figure something may have gone wrong in the project but I was unable to identify the problem.
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2QRSM17
via IFTTT
Aucun commentaire:
Enregistrer un commentaire