DigitalWheat / Multi-Domain-Laravel

An example of multi-domain/subdomain app in Laravel.
220 stars 96 forks source link

Managing Domain instead of Sub Domain #2

Closed JohnDotOwl closed 5 years ago

JohnDotOwl commented 5 years ago

Hi,

Could I use this method to manage multiple main domains? If possible, what about catch all ..com

Qoraiche commented 5 years ago

the description says multi-domain/subdomain, so the answer is yes.

huzzi commented 5 years ago

How would you map domain eg: mystore.com instead of shop.example.com?

maxkostinevich commented 5 years ago

You'll need to add an option for users to add a custom domain name to their stores and ask them to point the domain to your server by adding "A" record in the DNS settings.

I've created a short demo: https://github.com/laravel-101/multi-domain-laravel-app (the video is coming soon).