Use a dedicated Matrix subdomain. It keeps DNS simple, works with Meshly's current homeserver handling, and avoids the extra delegation work of using a root domain.
Good: matrix.yourdomain.com
Avoid: yourdomain.com if you do not want to manage Matrix delegation
Avoid: yourdomain.com/matrix because Meshly expects /_matrix at the host root
The bare command prompts for domain, email, and admin credentials. This is the simplest version for end users.
curl -fsSL https://meshly.chat/install/meshly-node.sh | sudo bash
For a fully scripted rollout, pass explicit flags:
curl -fsSL https://meshly.chat/install/meshly-node.sh | sudo bash -s -- \
--domain matrix.yourdomain.com \
--email ops@yourdomain.com \
--admin-user owner \
--open-registration false \
--yes
- Open Meshly and choose Use my own homeserver.
- Enter
https://matrix.yourdomain.com.
- Choose Sign in, not Create account, if you left registration disabled.
- Enter the admin username and password created during the install.
Turn on --open-registration true only if you really want people creating accounts directly from Meshly. It is convenient, but it also raises spam and moderation risk on an internet-facing homeserver.