Strip out everything but the hostname