Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure mutlitenant site of laravel on Laragon #619

Open
gul-ahmad opened this issue Nov 24, 2023 · 1 comment
Open

How to configure mutlitenant site of laravel on Laragon #619

gul-ahmad opened this issue Nov 24, 2023 · 1 comment
Labels
docs Issues that are related to documentation

Comments

@gul-ahmad
Copy link

i created the project in www ,pretty url is created ,as the site is multitenant like it works in the way

mainsite.com
user1.mainsite.com
user2.mainsite.com
and so on

for each subdomain in windows hosts file i m adding
127.0.0.1 mainsite.com #laragon magic!
127.0.0.1 user1.mainsite.com #laragon magic!
127.0.0.1 user2.mainsite.com #laragon magic!
and so on

while in sitesenabled there is one auto.mainsite.com while for subdomain there i have added manual.user1.mainsite.com and manual.user2.mainsite.com and so on .....but the issue is that when i go to mainsite.com it gives me not found while for subdomain it works user.mainsite.com is working but the main domain is not it gives me not found ....so can any body guide me for this. Thanks in advance

@RegalChivas
Copy link

check here for solution

Originally posted by @Pen-y-Fan in #584 (comment)

@alxndr-w alxndr-w added the docs Issues that are related to documentation label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Issues that are related to documentation
Projects
None yet
Development

No branches or pull requests

3 participants