set the hostname on the global scope
added query params