exit if the domain isn't specified