You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/v1/virtualhosts/overview.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,17 @@
2
2
3
3
Virtualhosts allow developers to host multiple applications on their local system.
4
4
5
-
Using this tool, you configure a virtualhost for each of your applications, and it will create them so that you can
6
-
start working with them.
5
+
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.
7
6
8
7
**Example**:
9
8
10
-
-`api.dotkernel.localhost`: this could be the endpoint where you host your website's API
11
-
-`frontend.dotkernel.localhost`: this could be domain you host your website's frontend that will consume the API
9
+
*`api.dotkernel.localhost`: this could be the endpoint where you host your website's API
10
+
*`frontend.dotkernel.localhost`: this could be domain you host your website's frontend that will consume the API
12
11
13
12
In the above example, the URLs are built like this:
14
13
15
-
- the subdomain is the identifier of your application (`api`/`frontend`)
16
-
- the domain is the identifier of your project (`dotkernel`)
17
-
- the TLD sends the requests to localhost where Apache will route them to their real location
14
+
* the subdomain is the identifier of your application (`api`/`frontend`)
15
+
* the domain is the identifier of your project (`dotkernel`)
16
+
* the TLD sends the requests to localhost where Apache will route them to their real location
18
17
19
-
## Note
20
-
> By using the pattern `*.localhost` for any new virtualhost, you do not need to modify the `hosts` file in Windows,
21
-
> because these are routed by default.
18
+
> 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 commit comments