resolve the domain and intranet portal