How: JID hostname different than server name

Okay let’'s say with google, the JID is when the actual server is How exactly does that work? I have a jabber server on (fictional) and I want the JID to be instead of

Note that is hosted on a different machine than and I would like to keep it that way (if possible - if not I’'ll just move the domain to the machine that jive resides).

I’'m just curious how can you have a different JID than your actual server (a la google) and does that affect s2s communication?

RFC 3920 defines DNS SRV records for “xmpp-server” and protocol “tcp”.


They work like MX records for email.