Route::domain('{game}.example.com')->group(function () {
// Your games URLs
});
Route::domain('{movie}.example.com')->group(function () {
// Your movies URLs
});
@alirezatig3r Change your server settings to make Laravel start with url.com then you can add your old index file to Laravel view.
Route::get('/', function () {
return view('your_old_index');
});
Route::domain('{game}.example.com')->group(function () {
// Your games URLs
});
Route::domain('{movie}.example.com')->group(function () {
// Your movies URLs
});
You can setup wildcard DNS for sub-domains you control so that *.yourdomain.com (foo.yourdomain.com, bar.yourdomain.com, etc.) all resolve to the same A record, but not with TLDs (unless you happen to own the .com TLD).
I believe you can contact you host provider for that.