set host dynamically for production mode