Multi Laravel Sail Sites with Custom Domain

You are the happy Laravel Sail user who just shifted from Laravel Homestead, but there are multiple sites inside your Homestead. Laravel Sail does not support multi-site just like the Homestead.

In just a few minutes, you can get the speed of WSL2 with a custom domain on multiple Laravel Sail projects.

📝 Gist:

0:00 Intro
0:16 Install NGINX Proxy Manager
1:41 Create Multiple Laravel Sail Projects
2:11 Configuring Ports for Laravel Sail Projects
3:05 Troubleshoot Laravel Sail Port Not Available or Port Is Allocated
3:41 Edit Windows HOSTS file
3:57 Create Proxy Host
4:32 Demo Multiple Laravel Sites with Custom Domains
4:42 Demo managing DB individually for each Laravel Sail Project

🔖 More descriptive references:
• Multi Laravel Sail Sites with Custom Domain

🔖 Nginx Proxy Manager Official Page:
Download This Video

(Visited 41 times, 1 visits today)
Author: treehoster

Share This Post
Have your say!