I’'m trying to connect to a server that has a domain like webserver1.mydomain.com - but the jabber domain (used in the communication between client/server) is mydomain.com - all JIDs are firstname.lastname@example.org as well. Is it possible to connect the socket to one hostname and specify a different one for the protocol/jabber api? How?
Maybe I even don’‘t need it - I’'m currently planning to build an applet to access my jabber server from any browser - but the applet is located on several mirrored web servers while the jabber server runs on a different host.
Since applets (afaik) are not allowed to connect to different hosts than the ones they are delivered from, I’'d like to set up a forwarding… Allowing the applets to connect to the web servers (at least they think so) and using the FQDN of my jabber server in the protocol.
Is this a bad idea? Any better approaches? Can it be done at all?
Thanks in advance,