Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.