Khairul21's avatar

[NEED HELP] Subdomain

I am try to create subdomain in development . suppose I have laravel.dev .

So I want some like {subdomain}.laravel.dev

I try to put this Route::domain('{account}.laravel.dev')->group(function () { Route::get('/sub', 'LandingPageController@what')->name('sublanding'); });

and try url like jeremy.laravel.dev

but it seems does not work .

Could someone suggest how the exactly i need to do . Thanks !

0 likes
0 replies

Please or to participate in this conversation.