user5710358
user5710358

Reputation:

Is laravel provide any service to create subdomain dynamically

I keenly interested to know is laravel providing their service to create subdomain dynamically ?

Or I should do this by .htaccss, hosts and vhost config files.

Upvotes: 0

Views: 101

Answers (1)

Marcin Nabiałek
Marcin Nabiałek

Reputation: 111859

Subdomains are not created by frameworks. You need to set them in vhost. You could consider also setting wildcard for your domain and redirect the whole traffic to Laravel but Laravel is not ready to handle multi domains out of the box.

Upvotes: 1

Related Questions