That depends on the scripts.
The web server keeps track of the hostname used in the request. For example, when browsing to http://example.com/dir/script.php, the browser says it wants 'Host: example.com', and the web server sets the HTTP_HOST variable to 'example.com', and then executes script.php - but from there whether or not script.php uses HTTP_HOST is up to the script developers. You might want to check with any support channels for those scripts.
Customer since 2000 openvein.org