Skip to content

multi-tenancy with subdomain using the same project directory. #630

Answered by enniosousa
BibinVJ asked this question in Q&A
Discussion options

You must be logged in to vote

Laragon edit the hosts (C:\WINDOWS\system32\drivers\etc\hosts) to point the domain to 127.0.0.1

So each subdomain you need add to windows hosts manually because it does not supports wildcard.

Google Chrome always resolves localhost and *.localhost and *.*.localhost ... to 127.0.0.1 without check windows hosts

So instead use {name}.test start use {name}.localhost

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@BibinVJ
Comment options

@Satal
Comment options

@BibinVJ
Comment options

@enniosousa
Comment options

Answer selected by leokhoa
@BibinVJ
Comment options

@leokhoa
Comment options

@luisAntonioLAGS
Comment options

@SyntaxByte-Solution
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants