Set the root path of your subdomain admin.mywebsite.com to web/admin/public path.
Jan 2, 2017
4
Level 1
Laravel installation on subdomain
Hello everyone, I am new here and laravel beginner.
I have two installation of Laravel. The principal project and the admin section that I have choose to build it in a new laravel installation. I want to make the admin section, a subdomain of the principal project.
This is my directories architecture in the cPanel :
web/
/admin/ ( admin.mywebsite.com)
/laravel/(mywebsite.com)
My domain points on the directory web/laravel/public and all work well. mywebsite.com work fine.
Now I don't know how to implement the subdomain.
Need some help please and apologize for my english.
Please or to participate in this conversation.