what if there is no hostname or path