Generalize templated hostname until we can get razor to set it