laravel 5 subdomain not working in live <p>I have a site that can be access in <code>stage.mysite.com</code> now I want to have a subdomain for another page and it can be access at <code>profile.stage.mysite.com</code>.</p> <p>in my server I have configured the hosting.</p> <pre><code>ServerAdmin webmaster@localhost ServerName stage.mysite.com ServerAlias *.stage.mysite.com DocumentRoot /var/www/staging.mysite.com/public </code></pre> <p>in my routes.php this is the code.</p> <pre><code>Route::group(['domain' =&gt; 'profile.stage.mysite.com'], function() { Route::get('/', 'FrontendController@profile'); }); </code></pre> <p>but when I tried to access <code>http://profile.stage.mysite.com</code> returns <code>Server not found</code> error. any ideas how to access my static page into subdomain?</p>