ejabberd ec2 linux installation issue..starting ejabberd@localhost

Hello,thanks for this wonderful service.
i dont have much knowledge about these.im installing this to develop an instant messaging ios app.
Im trying to install ejabberd in aws ec2 instance.im follwing instructions from this site:

http://www.sebastianhaas.at/installung-running-ejabberd-aws-ec2-instance/

i have downloaded ejabberd using this command and link:

wget -O ejabberd-17.04-linux-x86_64-installer.run http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd...

and i got it downloaded and made it executable using this command:

chmod +x ejabberd-17.04-linux-x86_64-installer.run

and installed by running this command:

sudo ./ejabberd-17.04-linux-x86_64-installer.run

its showing all necessary details like language and agreement details and all..
selected the Installation Directory as [/home/ec2-user/ejabberd-17.04].

After that given ejabberd server domain as :

ec2-xx.xxx.xx.xxx.us.west-2.compute.amazonaws.com

given user name and password.

installation is also successful.but when im starting my ejabberd,it starts my ejabbers sever in my local host
the command i have tried are:
sudo /home/ec2-user/ejabberd-17.04/bin/ejabberdctl start
udo /opt/ejabberd-17.04/bin/ejabberdctl start

i tired both and when im checking its status,the one i getting is like this
The node ejabberd@localhost is started with status: started
But the registration is done successful.Also when i tried using browser using http://ip:5280/admin
after giving the password and username,it shows unauthorizeddd..
cant acess through http://ec2-XXXXXXXXX.us-west-2-amazonaws.com:5280/admin

i have installed this in my local host in my mac el capitan.its works fine there..

what mistake im doing in this..please please help me..
thank you.

> After that given ejabberd

> After that given ejabberd server domain as : ec2-xx.xxx.xx.xxx.us.west-2.compute.amazonaws.com

Ok, then this is the XMPP domain that ejabberd will serve. It is also possible to configure ejabberd to serve many XMPP domains.

> when im checking its status,the one i getting is like this: The node ejabberd@localhost is started with status: started

This is correct, this refers to the ejabberd node name, which is an erlang thing, not related to the several XMPP domains that one ejabberd can serve. So don't worry about that node name.

> Also when i tried using browser using http://ip:5280/admin after giving the password and username,it shows unauthorizeddd..

In that Webadmin, remember to provide the account, including user and server. In your case, it may be like admin@ec2-xx.xxx.xx.xxx.us.west-2.compute.amazonaws.com and of course also the password :)

> cant acess through http://ec2-XXXXXXXXX.us-west-2-amazonaws.com:5280/admin

Maybe DNS is not configured, so that domain name does not point to your IP address? Or maybe port 5280 is blocked?

Syndicate content