virtualhost

1 Articles
SERVERS

Apache PHP Virtualhosts, locally and remote (on server)

Virtualhosts are used to configure an URL or domain to be replied by our server, the virtualhost points the domain to a location in our server, then the server handles the response based on the files placed on that location. For example if in our location there is an index.php file, by default apache will load this file when visiting the domain configured in the virtualhost through the web browser.