ejabberd - Comments for "Change the virtual host name" https://www.ejabberd.im/node/3343 en Change the virtual host name https://www.ejabberd.im/node/3343#comment-53899 <p>Hi, badlop</p> <p>Yes this is the problem and more specific I would like to rename virtual host localhost to jabber.tritsako.awmn</p> <p>I will try it and then will make some changes to the internal database.</p> <p>Thank you.<br /> Costas</p> Mon, 05 Jan 2009 10:34:14 +0000 tritsako comment 53899 at https://www.ejabberd.im Simply edit ejabberd.cfg https://www.ejabberd.im/node/3343#comment-53891 <p>The link that Evadim showed is a tutorial in case you find problems when moving ejabberd to a different machine. I think that isn't your case.</p> <p>If I understood you correctly, the solution to your problem is easy. Let's imagine you configured ejabberd to serve the virtual host "test.example.org". Now you want to remove that and add a new one: "jabber.example.org".</p> <p>1. Edit ejabberd.cfg, and change the line that says:<br /> <code>{hosts, [&quot;test.example.org&quot;]}.</code><br /> with this line:<br /> <code>{hosts, [&quot;jabber.example.org&quot;]}.</code></p> <p>2. Restart ejabberd.</p> <p>Please note that the accounts, roster items, ... that were created for the old virtual host are still stored in the internal database. But they are completely useless, because nobody will be able to login to those accounts.</p> Tue, 30 Dec 2008 20:04:00 +0000 mfoss comment 53891 at https://www.ejabberd.im http://www.ejabberd.im/migrat https://www.ejabberd.im/node/3343#comment-53887 <p><a href="http://www.ejabberd.im/migrate-host" title="http://www.ejabberd.im/migrate-host">http://www.ejabberd.im/migrate-host</a></p> Tue, 30 Dec 2008 14:45:24 +0000 evadim comment 53887 at https://www.ejabberd.im