Need to review domain names security checks, as it possibly have problems with domain names / portal aliases with port number in them.