mercredi 29 mars 2017

Laravel serve on sub domain routing

I use php artisan serve for the dev server. I came across a situation where I had to implement sub domain routing. Lets say the domain I provided is admin.myapp.com , is there any way that I can use the serve command to access the url in my local machine? I have multiple sub domains in the laravel application.
I know one possibility is to create a local virtual host in apache/nginx and update the url in /etc/hosts. I am using ubuntu 14.04 and laravel 5.2



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire