Users can't login after changing default page from domain.com to portal.domain.com

We can’t magically guess what you mean by “users have problems to login”

“problems” can mean anything … Please describe precisely what they attempt, how, and what happens exactly, without anything vague like “it doesn’t work” or “nothing happens”