> ## Documentation Index
> Fetch the complete documentation index at: https://docs.recasaos.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Share an app on the Internet

> Give an app a public https address, then choose who gets in: anyone, or only people with an access code; protections block known bad traffic.

An app can answer on the Internet at a public address such as `https://<app>.<name>.box.recasaos.org`, with its own HTTPS certificate, without opening a port on your router. Sharing goes through [remote access](https://docs.recasaos.org/fleet/remote-access.md): turn it on first.

> [!WARNING]
>
> A shared app open to anyone is reachable by **anyone who knows the address**; only the app's own login page protects it. Use **Protected by code** for an app without a solid login of its own.

## Share an app

1. In the app's menu on its tile, open **Share on the Internet**.
2. The first time, choose the name of the box: 3 to 32 lowercase letters, digits or dashes. Tick that you accept the terms of service of Let's Encrypt, which issues the certificates, then **Choose this name**. The name stays the box's.
3. Turn on **Share on the Internet**. The window shows the public address (**Copy**) and the certificate: *being obtained*, then *valid until…*.

Some apps must know their public address (Nextcloud's `trusted_domains`, for example): see their documentation.

## Who gets in

The **Access** card of a shared app has one switch:

* **Open to anyone**: anyone who knows the address gets in.
* **Protected by code**: only people with an access code get in. **Manage people** leads to *People with an access code* in Remote access, where each person gets their own code (shown once). Mobile and sync apps (Jellyfin, Nextcloud, Home Assistant…) then no longer connect: only a web browser gets in.

## Protection

In **Remote access**, **Protection of shared apps**: **Protect shared apps** turns on a web firewall (the OWASP rules, about 50 MB of memory), address lists, countries, a request limit and bans, for every shared app; an app can have **Own settings** instead. **Filtering by the relay** cuts addresses known as malicious before they reach your box. **Events** shows what was blocked.

A ban on the box comes after the relay and your Internet connection: it does not stop a flood (DDoS).

## Stop sharing

**Stop sharing** on the app's row in **Remote access**, **Public sharing**, or **Stop all sharing**: the public addresses stop answering. Turning remote access off or leaving a fleet also releases the box's public name.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.