jeudi 30 juin 2016

laravel 5 subdomain redirected to homepage

I have a site that can be access in stage.mysite.com and it has a subdomain profile.stage.mysite.com but it displays the content of stage.mysite.com when I try to access it.

in my server I have configured the hosting.

ServerAdmin webmaster@localhost
ServerName stage.mysite.com
ServerAlias *.stage.mysite.com
DocumentRoot /var/www/http://ift.tt/292wFy4

in my routes.php this is the code.

Route::group(['domain' => 'profile.stage.mysite.com'], function()
{
    Route::get('/', 'FrontendController@profile');
});

this I expect to be called. any ideas?



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

Aucun commentaire:

Enregistrer un commentaire