Check DEFAULT_SITE_DOMAIN in settings and raise a proper exaction if it's not there.