Unfortunately, neither the GWT plugin nor the GWT developer mode server support wildcards with sub-domains, so you'll need to configure you're sub domains one at a time (see and star Issue 7003<http://code.google.com/p/google-web-toolkit/issues/detail?id=7003> ).
you'll need to do the following: - add the sub domain records to your hostfile - right click the GWT plugin (on the browser) -> Options -> and add the sub domains to the include list - add "-whitelist *<sub domain name>*" to you're devmode run configuration. On Tuesday, April 17, 2012 3:11:00 PM UTC+3, Gilad Egozi wrote: > > Hello, > > I have a GWT application that supports multitenancy by subdomains. > I want to be able to test my app in development mode. > I am able to access my app using either: > > http://localhost:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997<http://localhost:8888/MindPOS_new.html?gwt.codesvr=127.0.0.1:9997> > > or > http://127.0.0.1:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997<http://localhost:8888/MindPOS_new.html?gwt.codesvr=127.0.0.1:9997> > > > But I'm NOT able to access it using > > http://subdomain.localhost/MyApp.html?gwt.codesvr=127.0.0.1:9997<http://localhost:8888/MindPOS_new.html?gwt.codesvr=127.0.0.1:9997> > > > > I'm developing on a Windows machine. I'd modified the HOSTS file to map * > subdomain.localhost* to 127.0.0.1 - And yes, I'm sure that the mapping is > alright since I AM able to access > http://subdomain.localhost:8888/_ah/admin<http://loveat.localhost:8888/_ah/admin> > . > > > Any help would be very appreciated! > > Thanks, > Gilad. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/48cPGmzwgtwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
