Fix routing of domains.