Can’t figure out how to get Zotonic to start with long names

Hi.
I wanted to build a cluster from zotonic and my application, but I can’t figure out how to get zotonic to start with long names, now it starts with a short name and I can’t connect the nodes

1 Like

You should be able to use short names, as long as they resolve. Edit /etc/hosts to statically assign IP addresses to (short) host names. As long as something like ping host works you should be good to go.

1 Like

While I’m testing within the same machine, I don’t need to assign anything, but alas, my nodes refuse to see each other. They have the same cookies

The default setting for Zotonic 1.0 is now to completely disable erlang distribution. Epmd is bound to localhost only, and when you use default settings erlang binds to localhost only.

Most zotonic users are confused by all the default open erlang distribution ports when zotonic is started. If you really need erlang distribution, you need to configure it manually.

Here is where that is managed.

See: zotonic/cloud-init/zotonic-cloudinit.yml at c02d2438be80220ed83a7afde1ff05a016d1931a · zotonic/zotonic · GitHub

and