The domain

Published

Updated

🌍

Route any domain.

A domain routes visitors to a fortrabbit environment. Every environment has a frbit.app default domain, an optional cloud domain on frbit.cloud, and any external domains registered elsewhere.

Domain types

TypeExampleDNS setupMove to
Default domainen-34fdsa.eu-w1a.frbit.appNoneNot possible
Cloud domainmy-shop.frbit.cloudNoneAny app
External domainwww.example.comRequiredSame app

All three are served over HTTPS with free TLS certificates.

Default domain

Each environment gets a default domain built from its environment ID. It is fixed, always on, and cannot be deleted. It was called test domain before.

Cloud domain

A cloud domain is an optional name picked under frbit.cloud. fortrabbit handles the DNS. It can move to an environment of another app. The address stays the same.

External domain

An external domain is registered with a domain provider. fortrabbit does not register domains:

Target settings

Most domains can change their target. Two cannot:

  • Apex domains always forward to their www subdomain.
  • The main domain stays until another domain becomes the main domain.

Environment setting

An external domain can move to another environment of the same app without DNS changes, for example to switch production to a new environment. A cloud domain can also move to an environment of another app.

Root path setting

The root path is set per environment and applies to all its domains. To serve different folders per domain, use .htaccess rules or the routing of the software.

Domain forwarding

A domain can forward to another domain of the same environment, usually to the main domain. See domain forwarding.

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗