handles alternate hostname.