The routing is done by apache and not ispconfig. ISPConfig just writes the apache configuration file and does not route any incoming requests.
If there is a incoming http request, the webbrowser is sending a request header to apache which conatins the domain name of the requested website, apache then "looks" into ist config files until it finds a website were the website domain or a aias matches the domain name and IP address and then delivers the content from this website back to the webbrowser.
|