mercredi 29 juin 2016

laravel 5 subdomain not working in live

I have a site that can be access in stage.mysite.com now I want to have a subdomain for another page and it can be access at profile.stage.mysite.com.

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');
});

but when I tried to access http://ift.tt/295JhbN returns Server not found error. any ideas how to access my static page into subdomain?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire