Update domains.blade.md

I recently played with the tenancy package to set up multiple domains. I'm on Mac and using Valet. I found we can test multiple domains using Valet and thought it might be worth it in the documentation.
This commit is contained in:
Abrar Ahmad 2022-03-22 11:16:38 +05:00 committed by GitHub
parent 03b9971b54
commit b789927e29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,4 +26,4 @@ To retrieve the current domain model (when using domain identification), you may
For local development, you may use `*.localhost` domains (like `foo.localhost`) for tenants. On many operating systems, these work the same way as `localhost`. For local development, you may use `*.localhost` domains (like `foo.localhost`) for tenants. On many operating systems, these work the same way as `localhost`.
If you're using Valet, you may want to use e.g. `saas.test` for the central domain and `foo.saas.test`, `bar.saas.test` etc for tenant domains. If you're using Valet, you may want to use e.g. `saas.test` for the central domain and `foo.saas.test`, `bar.saas.test` etc for tenant domains. Use the valet link command to point multiple domains to a single source if you are using multiple domains. Open the terminal in the project folder and run the command `valet link foo.test`. You can point to as many domains as you want.