lundi 27 juin 2016

laravel 5 subdomain not working in xampp

I am developing in xampp as host in my local. The project runs on php artisan serve and it can be access at http://localhost:8000

Now I want to create a subdomain but in my case it didn't work. I would like to run it in http://ift.tt/2987wEz but it redirected to homepage.

This is my route.

Route::group(['domain' => 'dummyresort.localhost:8000'], function()
{

    Route::get('/resort/dummyresort', 'FrontendController@dummyresort');
});

and this is the php artisan route:list dummyresort.localhost:8000 | GET|HEAD | resort/dummyresort | | App\Http\Controllers\FrontendController@dummyresort | web

any ideas about my case?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/28YVssg
via IFTTT

Aucun commentaire:

Enregistrer un commentaire