DetectTheDomain does not work