I have Laravel project and I have route like this
Route::group(array('domain' => '{account}.mydomain.com'), function () {
Route::get('/test', ['uses' => '\App\Http\Controllers\TetsController@index',
function ($account) {
return view('Test');
}]);
}]);
It works on localhost (windows,wamp) but when I migrate on centos It does not work and send me this error
This site can’t be reached
test.mydomain.com’s server DNS address could not be found. Search Google for test support ir login ERR_NAME_NOT_RESOLVED