Use your custom domain
Learn how to bring your own custom domain to Stripe Checkout, Payment Links, and customer portal.
If youâre using the Stripe-hosted page for Checkout, you can add your own custom domain to Stripe. Adding custom domains is a paid feature. For information about cost, see Checkoutâs Pricing.
Add your custom domain to the Stripe Dashboard
Decide what subdomain to use with your Checkout Sessions, Payment Links, and customer portal.
Note
If your domain is example.
, we recommend using payments.
as your custom subdomain. You can replace payments
with anything you like, as long itâs a valid subdomain. You canât use a path like example.
and must specify a subdomain of your existing domain.
After you decide on a subdomain, visit the Custom domains settings page to start the domain connection process.
On the settings page click Add your domain.
In the pop up, enter your desired subdomain. Click Add when youâre done. Youâll see the popup update with instructions for setting up your DNS records.
Your custom domain is activated automatically when your DNS records are verified. To disable this behavior, uncheck the Switch to this domain once added checkbox.
When will my domain be added?
When your domain is in the Adding.
state, we wait to verify your DNS records that you set up in the next step. After Stripe verifies the DNS records, we create TLS certificates for your subdomain, set up the correct CDN routing, and then your domain is ready
to enable and use.
Identify your DNS Provider
To start, figure out what service is managing your DNS records, so you know exactly where to login and create the new records.
If you already know your DNS provider, you can move on to the next section.
Often, itâs the same place you registered your domain, but sometimes the DNS provider is different from your domain registrar.
If youâre not certain who your DNS provider is, try looking up your domainâs nameservers, replacing stripe.com with your own domain in this command:
nslookup -querytype=NS stripe.com
Youâll see a list of nameservers for your domain in the output. Hereâs some example output for stripe.com:
# Looks like AWS is providing our DNS here: stripe.com nameserver = ns-423.awsdns-52.com. stripe.com nameserver = ns-705.awsdns-24.net. stripe.com nameserver = ns-1087.awsdns-07.org. stripe.com nameserver = ns-1882.awsdns-43.co.uk.
If youâre more comfortable using a browser-based tool, go to MXLookupâs DNS Lookup tool and enter your domain. It might be able to tell you who your DNS provider is (but not always).
Create required DNS records
In this section, youâll create the DNS records you need to connect your domain. As you go through each step, check each checkbox to keep track of where you are in the process.
Select the tab that matches your DNS provider from the tabs belowâthis gives you specific, guided instructions for creating the required DNS records. If your DNS provider isnât an option, follow the Standard instructions:
Now that youâve created your DNS records and verified them, Stripe verifies the connection and provisions your domain on our end. Weâll send you an email and a Dashboard notification when the domain is ready for you to enable it. You can also visit the Dashboard settings at any time to see the current status of your custom domain connection.