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

# Choose your primary domain and redirect the rest

> Pick the address search engines see, and send any other custom domain to it with the redirect status you choose.

You decide which address your site lives at. Choose a primary domain, then
redirect old brand names and country domains to it.

## Pick the primary domain

The primary domain is the address search engines see. Fimo uses it for your
published site's canonical link and `og:url`. In **Settings** > **Domains**,
open the three-dot menu on an active domain and select **Make primary**, or run
`fimo domains primary blog.example.com`. Publish again so canonical links use
the new address.

[Learn about the primary domain](https://fimo.ai/docs/deploy/custom-domains.md#the-primary-domain)

## Redirect any domain to another

Each custom domain now either serves the site or redirects to another domain of
the same site. Open the domain's three-dot menu, select **Edit**, and choose
**Redirect to another domain**. Pick a permanent (`308`, `301`) or temporary
(`307`, `302`) status. Fimo keeps the path and query string.

From the CLI:

```bash theme={null}
fimo domains redirect old-brand.com www.acme.com --status 308
```

[Redirect a domain to another one](https://fimo.ai/docs/deploy/custom-domains.md#redirect-a-domain-to-another-one)

[See all updates](https://fimo.ai/docs/changelog/overview.md)


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