default site hostname to primary_hostname from config