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.
Example:
api.dotkernel.localhost: this could be the endpoint where you host your website's APIfrontend.dotkernel.localhost: this could be the subdomain where you host your website's frontend that will consume the APIIn the above example, the URLs are built like this:
api / frontend)dotkernel)By using the pattern
*.localhostfor any new virtualhost, you do not need to modify thehostsfile in Windows, because these are routed by default.