Handle doc without domain or domains