Routing options

Published

Updated

🗺️

All roads lead to 200 OK.

A fortrabbit environment answers on its frbit.app default domain and on every external domain added to it. One of those domains is the main domain, used for the dashboard preview, monitoring and an ENV var.

Default domain

Each environment gets a default domain on frbit.app, such as {{app-env-id}}.{{region}}.frbit.app. It works right after creation, without DNS setup. Use it for development, testing and staging environments. The environment overview in the dashboard shows it.

External domains

An environment accepts requests for every external domain added to it in the domain settings of the app. The DNS of the domain has to point to fortrabbit, see the domain setup. All domains of an environment land in the same root path.

Main domain

The main domain is the one domain of an environment the platform uses as its address: for the thumbnail preview in the dashboard, for monitoring, and in the FORTRABBIT_MAIN_DOMAIN ENV var. Choose it in the environment settings, once the environment has at least two domains.

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗