Put an app on your own domain and share it with a group

Show a public app at yourdomain.com/app, and learn how to share an app with a group instead. An own domain serves only public apps, so each goal needs its own setup. About thirty minutes.

Goal: put an app on your own domain (Studio Domains), and know how to share an app with a group (Studio Access). Time: about thirty minutes. Plan: Studio. Before you start: an app you built, and a domain you own. For the path form, your domain must already be connected for your public page. See Custom domain.

An own address is a public door: it shows an app only while the app is public and live. An app shared with a group is opened from its note, where people sign in. So there are two separate setups. Choose the one that matches your goal, or do both with two apps.

Part 1: a public app at yourdomain.com/app

  1. Make the note public. Under Who can see this choose Public and read the warnings: the app will be open to everyone.

  2. Open the app's configuration (Configuration) and find Address.

  3. Choose Use my own domain, type yourdomain.com/app and choose Use this address.

  4. The path is shown at once on your site domain, with no DNS changes. Choose Open to see it.

Add an own address in the configuration.

The page at that path is only the app, full screen, and deep links such as yourdomain.com/app/page-2 keep working.

Or a subdomain

Instead of a path, type app.yourdomain.com. SeeMyNotes shows the DNS records to add at your domain provider: a record pointing the name to SeeMyNotes, an ownership record and the _acme-challenge record. Add them, wait (it checks automatically every few minutes, and you can check at once), and open the address when it is live. An address not verified within 72 hours is released. See Custom domain for the records.

Part 2: share an app with a group

An app shared with a group is private to that group, so it does not use an own domain.

  1. Make sure the group exists and its members follow you. See Followers and groups.

  2. Open the note, show the Settings panel and under Who can see this choose Groups and pick the group. Read the confirmation about who gains access and confirm.

  3. The Settings panel now says who can open the app, in a line like Visible to: {{who}}.

  4. If the app should know who is using it, open the configuration and turn on Tell the app who is viewing, then use smn.viewer() in the app.

The Settings say who can open the app.

Members open the app from the note's page, signed in. A copied link gives nothing to people outside the group.

Check it

Result

A public app on your own address, and a clear way to share another app with a class or team.

Next steps

Related pages