[Reviewer: Andy] Correct upstream_hostname

Move upstream_hostname to be set after dotting in the config file