read hostname from config.js