Skip to content

maxkostinevich/multi-domain-laravel-app

Repository files navigation


Multi-domain Laravel Application

An example of multi-domain/subdomain Laravel application.

Demo

demo

Feel free to register at HelloCard.pro and create a few websites to see how it works.

demo

Please note: This application is created for demo purpose only. HTTPS connection may not work properly on custom added domains. To make it work properly, you'll need to implement automatic issuing of SSL certificates depending on your server's settings.

Setup

Deployment

composer install

php artisan view:clear
php artisan cache:clear
php artisan vendor:publish
php artisan migrate

php artisan storage:link

php artisan config:cache

Then change APP_DOMAIN to the actual domain name of your app. Email verification is enabled, so do not forget to set proper SMTP settings for outgoing emails.


Want to learn more?

  • Learn how to build real-world SaaS applications using Laravel.
  • Subscribe to our Youtube Channel to stay up to date with our latest videos.

Credits


(c) 2019 Laravel 101 - All rights reserved.