added domain and hostname config