Update domains.blade.md (#156)

* 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.

* Update source/docs/v3/domains.blade.md

Co-authored-by: Samuel Štancl <samuel@archte.ch>

Co-authored-by: Samuel Štancl <samuel@archte.ch>
This commit is contained in:
Abrar Ahmad 2022-03-23 18:40:04 +05:00 committed by GitHub
parent 03b9971b54
commit 4fc499a8f6
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. Alternatively, if you want to use **multiple second-level domains**, you can use the `valet link` command to attach additional domains to the project. For example: `valet link bar.test`