Checking for slash at the end of the domain.