# Troubleshoot a custom domain
Fix a domain that stays pending, shows Does not match, fails, gets disconnected, or has DNS verified but no HTTPS.
```video walkthroughs/f15-custom-domain
title: Connect a custom domain
caption: Where to find each record and its check result.
```
Most domain problems come from a record that doesn't match exactly. Open **Settings > Domains**, open the domain's card, and compare each record with what your DNS provider shows.
```screenshot online-store/troubleshoot-a-custom-domain/01-error-states
alt: A domain card with the status Pending and one DNS record marked Does not match
caption: Each record shows Matches, Does not match or Not confirmed.
```
## Why does the domain stay Pending?
- DNS changes can take up to 48 hours to apply. Crate checks every 5 minutes on its own.
- Choose **Check now** to check sooner. You see "DNS check queued. The results will update here when the check finishes." The **Last checked** time updates when it is done.
- If you see "Wait 30 seconds before checking this domain again.", wait and try once more.
- If you see "The DNS check could not be queued. Try again.", wait a moment and choose **Check now** again.
## Why does a record show Does not match?
- **Wrong host:** your provider may add your domain to the host for you. Enter only the part before your domain. See [DNS provider names](/support/online-store/connect-a-custom-domain#dns-provider-names).
- **Extra records:** remove any other **A**, **AAAA** or **CNAME** record on the same host.
- **Proxy turned on:** if your provider proxies traffic, turn it off for the pointing record.
- **www and root mixed up:** a CNAME on www.yourstore.com doesn't verify yourstore.com. Each hostname needs its own records.
- **Old TXT value:** if the connection was restarted, copy the current **TXT** value from the card again.
## What does Invalid mean?
Crate couldn't confirm your records. Correct the records at your DNS provider, give DNS time to update, then choose **Check now**.
## What does Disconnected mean?
If a domain's records don't match for 30 days, Crate disconnects it. You get reminders on days 3, 7 and 14 first. The card says "Disconnected after 30 days. Check now issues a new TXT value; copy it again."
1. Fix the records at your DNS provider.
2. Choose **Check now**.
3. Copy the new **TXT** value from the card to your DNS provider.
Disconnection doesn't change any records at your DNS provider.
## Why is HTTPS not ready when DNS is verified?
DNS and the certificate have separate statuses. Wait until **SSL** shows **Active** before you share the domain. If it shows **Failed**, check that your pointing record still matches and isn't proxied, then choose **Check now**. If it still fails, [contact support](/support/getting-started/how-can-i-contact-crate-support) with the domain name. See [HTTPS for your domain](/support/online-store/custom-domains-and-genuine-tls-state).
## Why can't I connect a root domain?
If you see "Root domains can't be connected yet. Connect a subdomain like shop.yourstore.com", connect a subdomain such as shop.yourstore.com or www.yourstore.com instead.
## What if domain connection isn't available?
If you see "Domain connection is not available yet", custom domains can't reach stores right now. Your free Crate address keeps working. Don't copy an address from anywhere else. [Contact support](/support/getting-started/how-can-i-contact-crate-support).
## Why can't I add a domain?
Custom domains need the Starter plan or above. On the Free plan, **Connect domain** doesn't add the domain. See [Upgrade, downgrade or cancel your plan](/support/account-billing/manage-your-crate-plan).
## Remove a domain
1. Open the domain's menu and choose **Disconnect domain**.
2. Type the domain name exactly to confirm, then choose **Disconnect domain**.
Shoppers stop reaching your store at that domain straight away. Records at your DNS provider are not changed. If the name you type doesn't match, you see "The domain name you typed didn't match. Disconnect cancelled."
