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
| Type | Example | DNS setup | Move to |
|---|---|---|---|
| Default domain | en-34fdsa.eu-w1a.frbit.app | None | Not possible |
| Cloud domain | my-shop.frbit.cloud | None | Any app |
| External domain | www.example.com | Required | Same 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:
- Domain provider integration - combine domain provider with fortrabbit
- External domains intro - options and limits
- Point an external domain - step by step instructions
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.