Skip to main content

Apache vHost Execution Order

By 2021-08-08Web Server

The vHost execution order is based on the configuration file names in alphabetical order, while the very first one is treated as the default server.
To check current serving order, use:

sudo apachectl -S

Reference:
https://stackoverflow.com/questions/5427379/apache-default-virtualhost

Leave a Reply