Skip to content

Commit

Permalink
Update overview.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmerlin authored Oct 30, 2024
1 parent 1d31062 commit 3a4e67a
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions docs/book/v1/virtualhosts/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@

Virtualhosts allow developers to host multiple applications on their local system.

Using this tool, you configure a virtualhost for each of your applications, and it will create them so that you can
start working with them.
Using this tool, you configure a virtualhost for each of your applications, and it will create them so that you can start working with them.

**Example**:

- `api.dotkernel.localhost`: this could be the endpoint where you host your website's API
- `frontend.dotkernel.localhost`: this could be domain you host your website's frontend that will consume the API
* `api.dotkernel.localhost`: this could be the endpoint where you host your website's API
* `frontend.dotkernel.localhost`: this could be domain you host your website's frontend that will consume the API

In the above example, the URLs are built like this:

- the subdomain is the identifier of your application (`api`/`frontend`)
- the domain is the identifier of your project (`dotkernel`)
- the TLD sends the requests to localhost where Apache will route them to their real location
* the subdomain is the identifier of your application (`api`/`frontend`)
* the domain is the identifier of your project (`dotkernel`)
* the TLD sends the requests to localhost where Apache will route them to their real location

## Note
> By using the pattern `*.localhost` for any new virtualhost, you do not need to modify the `hosts` file in Windows,
> because these are routed by default.
> By using the pattern `*.localhost` for any new virtualhost, you do not need to modify the `hosts` file in Windows, because these are routed by default.

0 comments on commit 3a4e67a

Please sign in to comment.