1 import { Note } from "docs-ui"
2
3 export const metadata = {
4 title: `Update Subdomains`,
5 }
6
7 # {metadata.title}
8
9 In this guide, you'll learn how to update the Medusa-provided subdomains for your backend and storefront.
10
11 ## What are Subdomains?
12
13 Each environment gets a backend subdomain under `medusajs.app` and a storefront subdomain under `medusajs.site`. You can update these subdomains from the environment's **Domains** settings.
14
15 These are different from [custom domains](../custom-domains/page.mdx), which let you serve your backend and storefront from your own domain names.
16
17 ---
18
19 ## Update Subdomains
20
21 <Note type="warning">
22
23 Updating a subdomain may result in a short downtime until the change propagates.
24
25 </Note>
26
27 To update the backend or storefront subdomain:
28
29 1. If you're in a different organization, [switch to the organization](../../organizations/page.mdx#switch-organization).
30 2. Click **Projects** in the sidebar and select the project that contains the environment.
31 3. In the project's dashboard, click on the name of the environment. For example, "Production".
32 4. Click **Domains** in the sidebar to open the environment's domains settings.
33 5. Under the **Medusa-provided domains** section:
34 - To change the backend subdomain, update the value in the **Backend subdomain** field. The full URL will be `https://<your-subdomain>.medusajs.app`.
35 - To change the storefront subdomain, update the value in the **Storefront subdomain** field. The full URL will be `https://<your-subdomain>.medusajs.site`.
36 6. Click **Save changes**.