need to get the hostname from the configuration when we compare to see if we are hitting the correct host.