Allow base hostname to be configurable