Ever wondered how to retrieve the hostname in gwt? Posted on 26.07.2011 by admin Just use: Window.Location.getHostName().toString(); Easy, isn’t it?