---
title: "Now generally available: Automatic deploy subdomains | Netlify blog"
description: "Choose a custom domain for your Deploy Previews and/or branch deploys. Netlify will automatically generate custom preview subdomains for you."
source: "https://www.netlify.com/blog/automatic-deploy-subdomains-ga/"
last_updated: "2026-07-11T00:33:07.000Z"
---
Automatic deploy subdomains are now generally available for all Netlify customers with a Pro plan or above! You can set a custom domain for your Deploy Previews and/or branch deploys, and Netlify will automatically generate and link to these URLs for these deploy contexts.

![Deploy Previews and branch deploys are each set to use a custom subdomain](https://cdn.sanity.io/images/o0o2tn5x/production/6eec07a3ba17e8077d0b6c5fc1e80cee17c02eff-1918x806.webp)

## Why set a custom deploy subdomain?

Automatic deploy subdomains enable you to:

-   Quickly spin up [additional environments](https://docs.netlify.com/site-deploys/overview/#branches-and-deploys) at automatically-generated URLs.
    
-   Share Deploy Preview links with stakeholders or clients, and help ensure brand safety of those previews.
    
-   Help to ensure third-party integrations work properly in preview environments.
    
    _For example: If your auth or database solution requires access from allow-listed domains, you can add `*.previews.yourcompany.com` to the allow list, instead of `*.netlify.app`._
    
-   Empower security and IT teams to more easily build policies around company-controlled domains.
    

## Set up in 60 seconds

Automatic deploy subdomains requires:

-   That your production site has at least one custom domain
    
-   A Netlify DNS-managed (sub)domain
    
    _Note: We understand that not all apex domains can be delegated to Netlify DNS, so we recently [added the ability to bring just a subdomain](https://www.netlify.com/blog/how-to-bring-a-subdomain-to-netlify-dns/), at any domain level of your choosing._
    

To set up your subdomains at **Site Settings > Domain Management >** **Automatic deploy subdomains:**

1.  Select “Edit custom domains”.
2.  Check “Add domain” next to each deploy context you want to customize.
3.  **Select any domain from the “Domain” field.** This list includes any (sub)domains you have delegated to Netlify DNS; you can add more at **Team Overview > Domains**.
4.  **Add an optional prefix in the “Additional subdomain” field.** You can have deploys available at `*.internal.yourcompany.com` or `*.qa.platform.yourcompany.com` instead of `*.yourcompany.com`. There is no need to set up any additional DNS records for this.
5.  Press “Save”.

![Both Deploy Previews and branch deploys can take a domain (selected from a dropdown) and an optional, additional subdomain prefix](https://cdn.sanity.io/images/o0o2tn5x/production/5af38c401c10e1766901ab864b8ba15bcdef14cc-1918x1346.png)

Netlify will automatically generate wildcard DNS records and SSL certificates for each Deploy Preview (`deploy-preview–123.internal.yourcompany.com`) and deployed branch (`branch-name.internal.yourcompany.com`). We will use these URLs on the app, in the API, and in deploy notifications:

![Hovering over a Deploy Preview link on the Netlify UI shows a custom URL in place of the netlify.app URL](https://cdn.sanity.io/images/o0o2tn5x/production/c475bc9b11b35ff030cdcee91b2f6eacb24f4f38-1512x644.webp)

## Try it out today

You can learn more about how automatic deploy subdomains work and interact with other features [on the docs](https://docs.netlify.com/domains-https/custom-domains/automatic-deploy-subdomains/). Please try it out today under **Site Settings > Domain Management** and let us know what you think on [this short survey](https://netlify.qualtrics.com/jfe/form/SV_3lKTL6bMZL6Q0po) or on [the forums](https://answers.netlify.com/c/features/50)!

Not already a Netlify customer? [Sign Up for a free Pro trial](https://app.netlify.com/selection) to get access to automatic deploy subdomains and more features.

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Now generally available: Automatic deploy subdomains&url=https://www.netlify.com/blog/automatic-deploy-subdomains-ga/)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2Fautomatic-deploy-subdomains-ga%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/automatic-deploy-subdomains-ga/)
-   [Bluesky](https://bsky.app/intent/compose?text=Now generally available: Automatic deploy subdomains+https://www.netlify.com/blog/automatic-deploy-subdomains-ga/)

* * *

### Tags

-   [DNS](/blog/tags/dns/)
-   [Netlify DNS](/blog/tags/netlify-dns/)
-   [custom domains](/blog/tags/custom-domains/)
-   [Deploy Previews](/blog/tags/deploy-previews/)
-   [changelog](/blog/tags/changelog/)

## Keep reading

![](/_astro/f85cd7366dd9fa439f2aee4c003cc3afc96fa19e-2400x1260_Z1aoIrW.webp)

News & Announcements March 27, 2023

[

### How to set a custom domain for Deploy Previews

](/blog/custom-domain-for-deploy-previews)

-   ![Profile picture of Melanie Richards](/_astro/d92b724b71fa2bff0982537002856fa4b0614316-512x512_ZCJjrO.webp)
    
    Melanie Richards
    

![](/_astro/abaf6e1cb45b5021897ac31f49730f07ecb00d71-2400x1260_1Rwtb9.webp)

News & Announcements November 29, 2022

[

### How to bring a subdomain to Netlify DNS

](/blog/how-to-bring-a-subdomain-to-netlify-dns)

-   ![Profile picture of Melanie Richards](/_astro/d92b724b71fa2bff0982537002856fa4b0614316-512x512_ZCJjrO.webp)
    
    Melanie Richards
    

## Recent posts

News & Announcements June 25, 2026

[

### Netlify Functions, designed for Agent Experience

](/blog/netlify-functions-designed-for-agent-experience)

-   ![Profile picture of Eduardo Bouças](/_astro/52958f21e8450baf6d8e60302341a984e220c0cd-512x512_13VDlu.webp)
    
    Eduardo Bouças
    

News & Announcements June 24, 2026

[

### How we measure Netlify’s Agent Experience

](/blog/how-we-measure-netlify-agent-experience)

-   ![Profile picture of Sean Roberts](/_astro/bbf2243f8171dbddd80ab2103622106cef84d125-512x512_Z1d2LKE.webp)
    
    Sean Roberts
    

Guides & Tutorials May 15, 2026

[

### How to build a real-time AI chatbot in minutes with Netlify Agent Runners (no backend)

](/blog/how-to-build-a-real-time-ai-chatbot-in-minutes-with-netlify-agent-runners-no-backend)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)