Prepare for "domain" env.