been searching for fixes and tried everything i can. just signed up cause I can't work out my problem, so this is my last resort.
here's the thing i have a project named 'website.dev' then i want to have a subdomain 'admin.website.dev' so basically it's just an admin dashboard and everything else.
as for the routings i have this.
Route::group(array('domain' => 'admin.website.dev'), function(){
Route::get('/', function() {
return 'Hello from admin.website.dev!';
});
});
Route::group(array('domain' => 'website.dev'), function(){
Route::get('/', function () {
redirect('/centralapp');
});
});
I think there's no problem with my routings, from my research they changed there .htaccess or httpd.conf, I did all the things including putting 'admin.website.web' to system32/drivers/etc/host but still it can't read the subdomain. please help :/
btw I'm using Laragon as my LAMP Server.