For app publishers
Custom domain
A hostname on your own DNS that points at this app.
What this is
Every app has an address that cyantula gives it. A custom domain is an extra, shorter or more familiar address of your own, such as app.yourcompany.com, that opens the same app. A hostname is the full web address without the https:// in front. DNS is the phone book of the internet: the place where your company's addresses are kept and pointed at the right computer. Whoever looks after your company's addresses (your IT person or your web host) can change it.
The original address keeps working. Everybody still signs in and the same people have access. The custom domain is another door to the same app.
Where to find it
- Open the Apps page and click your app.
- Switch to Advanced at the top of the app page.
- Click the card Access & security, then Custom domain.
Custom domain is an Advanced theme. If your app already has one, the Simple view lists it under Also in use on this app on the app page.
What you see
Custom domain. An explanation, then one row per hostname you assigned. Each row shows:
- The hostname, as a link that opens it.
- A label for the address check: verified, waiting on DNS or DNS not pointing here.
- A label for the security certificate: certificate active, certificate pending, certificate failed or certificate off. A certificate is what makes the padlock appear in the browser.
- A line with the result of the last check, or Not checked yet.
- The record to create, with a button Copy CNAME.
- The buttons Check DNS and Remove.
Add a hostname. A box with the example app.customer.com, and the button Assign. It only shows while you have not reached the maximum number of hostnames.
What to set at your DNS host. A table with what to enter at your DNS host: Type (CNAME), Name / host, Target / points to and TTL. A button Copy record copies the whole line. The name in the table follows what you type in the box.
Certificate. A short line about the certificate, and a reminder that sign-in still applies.
How to add your own address
- Type the hostname in the box under Add a hostname, for example
app.yourcompany.com. - Click Assign.
- A message says Assigned. Create the CNAME — the certificate follows once it points here. The new row appears with waiting on DNS.
- Create the record at your DNS host (next section).
How to point your DNS at the app
A CNAME is a record that says "this name is the same as that other name".
- Look at What to set at your DNS host. Copy the line with Copy record, or the row's Copy CNAME.
- Open the place where your company's DNS is managed, and create one record: Type
CNAME, Name / host as shown, Target / points to as shown. Some panels want only the first part of the name (app), because the rest is already known. - Leave TTL on Auto, or set 300 seconds while you are still testing.
- Come back and click Check DNS on the row. A message says the hostname's DNS and certificate were checked.
- When the labels read verified and certificate active, open the hostname. You see your app.
DNS changes can take a while. If it still says waiting on DNS, wait a few minutes and click Check DNS again.
The DNS host does not have to be a special company. It can be any host. A name with nothing in front of it, such as yourcompany.com, usually cannot be a CNAME. Use a name such as www.yourcompany.com instead, or ask your DNS host for an ALIAS or ANAME record to the same target. An ALIAS cannot be checked by cyantula, a CNAME can.
How to remove a custom domain
- Click Remove on the row.
- A window asks Remove (hostname)? It tells you cyantula stops answering on that hostname, and that the CNAME at your DNS host is yours to delete. Click Remove, or cancel.
- A message says the hostname is removed.
Delete the record at your DNS host too, so it does not point at nothing.
When something looks wrong
- No custom domain yet. Add one below, then create the CNAME at your DNS host. Nothing is assigned. This is normal.
- DNS not pointing here. The record is missing or wrong. The line under the hostname says what cyantula found. Compare it with What to set at your DNS host and fix it.
- waiting on DNS. The record is not there yet, or has not spread. Wait, then click Check DNS.
- certificate pending. The certificate follows once the DNS is right. Click Check DNS after a few minutes.
- certificate failed or certificate off. The line under the label says why. Ask your administrator when it does not clear up.
- Add a hostname is missing: you reached the maximum number of hostnames for this app. Remove one first.
- A red message after you click: the change was not saved. Try again. If it keeps failing, ask your administrator.
- Loading… The page is still fetching.
Good to know
- A custom domain does not bypass sign-in. A visitor who is not signed in is sent to the cyantula address to sign in and then comes back to your hostname. Make the app public if visitors should not sign in at all, see Access.
- Visitors sign in on the cyantula address, never on your hostname.
- The access list, the public pages and the app are the same on both addresses.
- Removing a hostname here does not delete your DNS record. That is yours to remove.
- There is a limit to how many hostnames one app can have.
- When the licence does not cover new custom domains for this app, a note says so and the form to add a hostname is hidden. The domains already linked keep working.