set domain to tw