Remove hardcoded host name and use a PHP variable for it