// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'https://xoops.org');
define('XOOPS_URL', 'http://' . $_SERVER["SERVER_NAME"]);
This will make any hostname the hostname...
/Niklas