MGSM logoMGSM
Advanced/Stripe

Custom Domain

Learn how to configure a custom domain for Stripe, personalizing the checkout experience for your customers.

Introduction

To use a custom (checkout) domain with Stripe, you will need to set up a CNAME record with your domain registrar. This will allow you to use your own domain for the checkout process instead of the default Stripe domain (e.g. checkout.stripe.com).

Using a custom domain with Stripe is a paid feature. They currently charge 10 USD per month for each custom domain. You can find more information about custom domains in the Stripe documentation.

Configure the domain in Stripe

To configure a custom domain in Stripe, navigate to the "Settings" page in the Stripe dashboard and click on the "Custom domains" tab. Here you can enter your custom domain and save the changes.

Note: This example uses demo-pay.mgsm.io, we usually see checkout.example.com or pay.example.com as custom domains.

Configure domain in Stripe

Add a CNAME record

After configuring the domain in Stripe, you will need to add a CNAME and TXT record with your domain registrar.

If you're not sure how to add a CNAME record, you can find detailed instructions in the Stripe documentation, alternatively, check out our docs for Cloudflare.

Add records

If you are using Cloudflare, the CNAME records should have the orange cloud (proxy status) disabled (DNS only).

Verify the domain

After adding the CNAME and TXT records and waiting ~10 minutes, you can verify the domain in the Stripe dashboard. If the domain is verified successfully, you can start using the custom domain for the checkout process.

If you're comfortable using the CLI, you can use the following command to check if the domain is verified:

nslookup -querytype=CNAME demo-pay.mgsm.io dora.ns.cloudflare.com

In the example above, replace demo-pay.mgsm.io with your custom domain and dora.ns.cloudflare.com with your domain registrar's nameservers.

Verify domain

On this page