Skip to content

Understand domains

Learn the fundamentals of working with domains.

Learn the fundamentals of working with domains on Netlify.

A domain name is the URL or web address where visitors find your site.

To access your deploys on Netlify, you can set up a custom domain or use the default Netlify subdomain.

Custom domains allow you to make your sites accessible at your own domain names, such as www.yourcustomdomain.com or docs.example.dev. All top-level domains are supported for your custom domain.

Netlify supports custom domains for your production site, Deploy Previews, and branch deploys.

For example: branch-name.company.com

For more example custom domains, check out the chart below.

Unless you’ve set up a basic password protection or authentication, a production site/app on Netlify is accessible from its Netlify subdomain, which takes the form [name-of-your-site].netlify.app. Note that you can change the name of your site to change this Netlify subdomain.

For example, if your site is named brave-curie-12345, then by default your site is available at https://brave-curie-12345.netlify.app/.

Learn more about other types of default Netlify subdomains for other types of deploys in the chart below.

Your site deploys can have different domain patterns based on the type of site deploy.

Site deploy typeCustom domainUse case
Production deploycompany.comCan set a primary domain for your production site.
Deploy Previewdeploy-preview-42.early-access.company.comCan set a custom domain for Deploy Previews with an automatic deploy subdomain.
Branch deploy for a branch named stagingBranch subdomain: staging.company.com

Automatic deploy subdomain: staging.early-access.company.com or staging.internal-events.com
Can set a custom domain for your branch deploys with an automatic deploy subdomain or branch subdomains.

By default, your site deploys are available at a URL using the Netlify subdomain yoursitename.netlify.app. The Netlify subdomain URLs will always work even if you set up a custom domain for your site.

Site deploy typeNetlify subdomainUse case
Production deploy URLyoursitename.netlify.appTypically a placeholder URL, ideal for internal development before assigning a custom domain for site visitors.
Deploy Previewdeploy-preview-42--yoursitename.netlify.appUnique URL for previewing and collaborating on each pull/merge request.
Branch deploy for a branch named stagingstaging--yoursitename.netlify.app

Note: With a branch subdomain set up, the URL can be staging.yourcustomdomain.com.
Long-standing URL ideal for internal testing, QA teams, and ongoing development. To set up branch deploys, check out branch deploy controls.
Atomic deploy1234abcd12acde000111cdef--yoursitename.netlify.appUnique URL for a specific successful deploy. Also called deploy permalinks or just permalinks. Unlike the other site deploys, the web content at this URL never changes. A new deploy permalink is generated for each successful deploy of your site.