For administrators

Move to a real address

Prepare a real domain next to the address in force, check it from outside, then switch to it.

What this is

A new installation can start on a quick-start address: plain http, on one network only. This page moves it to a real domain with HTTPS. You prepare the new address next to the current one, check that both names reach this server from your browser, and only then switch. Until you switch, the current address stays in force.

Use it when you want colleagues outside this network, Claude Desktop or claude.ai to reach the portal. Those connect from the internet and cannot reach a quick-start address.

Where to find it

  1. Open Admin, then the card Infrastructure.
  2. Click Move to a real address.

While the installation runs on a quick-start address, a banner on every admin page also carries a Move to a real address button, and so does the page Addresses.

What you see

The page has three cards.

1. Prepare. The form for the new address, with the buttons Save and, once something is prepared, Discard.

  • How do people reach this server? Two choices:
    • Through Cloudflare: a Cloudflare tunnel (or another proxy) in front handles HTTPS and forwards to port 8080. Nothing needs to be open on this server.
    • Straight to this server: the domain points at this server, which answers on ports 80 and 443 and takes care of its own certificates. Also the choice for an internal DNS name with your own certificate.
  • Domain: the address colleagues will open, for example cyantula.example.com. Under it a blue note shows what colleagues will open and what an app called crm would get, and what to point at this server: with Cloudflare, route the domain and *.<apps domain> through the tunnel to port 8080; straight to this server, point both at its public IP address.
  • With Through Cloudflare: Cloudflare API token and Cloudflare zone. They are described under Addresses.
  • With Straight to this server: Email for automatic certificates, Apps wildcard certificate and Apps wildcard private key. The folded section Your own certificate for the domain, instead of Let’s Encrypt holds Portal certificate and Portal private key.
  • The folded section Advanced: apps on another domain holds Apps domain and Cookie domain. Leave them alone unless apps must live on a different domain.

2. Verify. Shows Save an address first. until something is saved. After that it lists two rows, Portal and Apps (*.<apps domain>), each checked from your browser. A row says Checking…, then either Answers, and it is this server or a red reason. Check again repeats both checks.

3. Switch. The button Switch to the new address. It is greyed out until both rows answer.

How to move to a real address

Prepare at the other party first:

  • Create DNS records for the domain and a wildcard record for the apps domain. With Through Cloudflare, route both names through your tunnel to port 8080 on this machine. With Straight to this server, point both at this server's public IP address.
  • With Straight to this server, make sure the server answers on ports 80 and 443 (see below), and have a wildcard certificate ready for the apps domain: Let’s Encrypt over port 80 cannot issue a wildcard.

Then:

  1. Open Move to a real address.
  2. Choose how people reach this server.
  3. Fill in Domain and the fields that belong to your choice.
  4. Click Save.
  5. In card 2, wait for both rows to show Answers, and it is this server. If one fails, fix DNS or the tunnel and click Check again.
  6. Click Switch to the new address. A window asks Switch to the new address? and says everybody signs in again, apps move to <app>.<apps domain>, the old portal address keeps forwarding, and old app addresses stop working. Click Switch.
  7. You land on the sign-in page of the new address. Sign in there.

You know it worked when the portal opens on the new domain and an app opens on its new address.

When something looks wrong

  • A real address is not available on this machine. This machine does not offer the move. There is nothing to do on this page.
  • Does not answer from this browser. The name has no DNS record yet, nothing listens, or the certificate is refused. Check the record and the tunnel or ports.
  • Answers with an error. Something answers but not as cyantula should. Check the tunnel route or proxy target.
  • Is answered by another server, not this one. The name points at a different machine. Correct the record.
  • This server does not answer on ports 80 and 443 yet. Run cyantula configure --ports direct on it. The installer leaves those ports closed when something else already uses them.
  • Direct mode needs a wildcard certificate for *.<apps domain>. Upload it in card 1. Let’s Encrypt over port 80 cannot issue one.
  • A red message with a sentence (for example that the address could not be changed): read it, correct the field, Save again. A generic Something went wrong. Try again in a moment. means try again.

Good to know

  • Only an administrator can use this page.
  • Save changes nothing in force. The current address keeps serving until Switch.
  • Discard asks for a confirmation and drops only the prepared address.
  • The switch signs everybody out. Apps are served on their new addresses from then on, and the old app addresses stop working. The old portal address keeps forwarding. Warn your colleagues first.
  • You cannot undo a switch from this page. To go back you would prepare and switch to the old domain again.