Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two servers in AWS EC2 ejabberd. I'm trying to set up an ELB to manage traffic, but I can not connect when I put a ELB "front" of EC2 instances. DNS settings, I changed the A record for the CNAME public DNS name of the instance ELB.

I read that SRV records can not point to a CNAME, so is not it possible to use ELB + ejabberd?


share|improve this question

so is not it possible to use ELB + ejabberd?

It is possible.

XMPP should work via ELB as long as the ELB is configured with a TCP listener instead of HTTP.

You can put the preferred subdomain, a CNAME of the ELB, as the SRV records and that shouldn't be a problem.

This post covers setting up ejabberd behind an ELB:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.