Expanding hostname with internal name