make prefix configurable

Sometimes it is not a good idea to have the host in the preifx because machines change frequently in cloud environments.