host name / domain name question

Hello everyone,

What is the best way to set up ejabberd so that JIDs are user@domain.com but that the actual server is at jabber.domain.com?

I ask because I want to have a completely separate server running ejabberd but I want the JIDs to be user@domain.com. (For example, for Google Talk you login as user@gmail.com but set the server to talk.google.com.)

I am thinking I could set up a firewall rule to forward all requests for the standard XMPP ports to the actual server at jabber.domain.com rather than having those requests go to the server at domain.com and that would also take out the step of making users manually set their client to connect to jabber.domain.com. While I think this would work it would probably be a nightmare if anything ever broke and I was trying to find out why people can not connect.

What do you think?

for "completely separate

for "completely separate server running ejabberd but I want the JIDs to be user@domain.com." use DNS SRV-record
for example
http://jabberd.jabberstudio.org/2/docs/section05.html#5_7

Syndicate content