# Update Subdomains

In this guide, you'll learn how to update the Medusa-provided subdomains for your backend and storefront.

## What are Subdomains?

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 page.

These are different from [custom domains](https://docs.medusajs.com/environments/custom-domains), which let you serve your backend and storefront from your own domain names.

***

## Update Subdomains

Updating a subdomain may result in a short downtime until the change propagates.

To update the backend or storefront subdomain:

1. In the [environment's dashboard](https://docs.medusajs.com/environments/long-lived#open-environment-dashboard), click on the "Settings" tab.
2. Choose the "Domains" tab from the sidebar.
3. Under the **Medusa-provided domains** section:
   - To change the backend subdomain, update the value in the **Backend subdomain** field. The full URL will be `https://<your-subdomain>.medusajs.app`.
   - To change the storefront subdomain, update the value in the **Storefront subdomain** field. The full URL will be `https://<your-subdomain>.medusajs.site`.
4. Click **Save changes**.


---

The best way to deploy Medusa is through Medusa Cloud where you get autoscaling production infrastructure fine tuned for Medusa. Create an account by signing up at cloud.medusajs.com/signup.
