How to Connect Your Domain
First, buy your domain
You must own your domain, usually purchased from a domain registrar. There are many domain registrars, but examples include: Namecheap, GoDaddy, Squarespace, Cloudflare, etc. Once you own your domain:Click the Share button

Open the Publish modal

Add a custom domain

Add your DNS records
example.com):Add an A record with these settings:www.example.com, blog.example.com):Add a CNAME record with these settings:www with your subdomain. For example, use blog for blog.example.com or app for app.example.com.In other words, if you want to connect blog.example.com, you would add:Wait for DNS Propagation
- For root domains: Go to whatsmydns.net/A, enter your domain, and check that it shows
149.248.202.188 - For subdomains: Go to whatsmydns.net/CNAME, enter your subdomain, and check that it shows
magicpatterns.dev
Connect Domain in Magic Patterns
- Enter your domain name in Magic Patterns (e.g.,
example.comorwww.example.com) - Click “I have added DNS records”
- Wait for verification


Manage your published site
Connecting Multiple Domains
You can connect multiple domains to the same project. For example, you might want both:example.com(root domain)www.example.com(subdomain)

FAQ and Troubleshooting
Be sure to refresh or try a different browser or device if you just published your domain! Your browser will cache old versions!My domain isn't working after 24 hours. What should I check?
My domain isn't working after 24 hours. What should I check?
- For root domains: Did you delete ALL old A records? (most common issue)
- Check your DNS at whatsmydns.net:
- For root domains: Check A record — should show
149.248.202.188 - For subdomains: Check CNAME record — should show
magicpatterns.dev - If it shows something different or “No record found”, your DNS isn’t set up correctly
- For root domains: Check A record — should show
- Wait another few hours if changes were recent
My subdomain (www, blog, etc.) doesn't work
My subdomain (www, blog, etc.) doesn't work
www with your subdomain (e.g., blog, app, portfolio).You can verify it’s set up correctly at whatsmydns.net/CNAME by entering your subdomain.When should I use an A record vs a CNAME record?
When should I use an A record vs a CNAME record?
- Use an A record for root domains (
example.com) - Use a CNAME record for subdomains (www.example.com,blog.example.com) The Publish panel in Magic Patterns will show you exactly which record type to use based on whether you select “Root Domain” or “Subdomain”.
Which DNS providers work with Magic Patterns?
Which DNS providers work with Magic Patterns?
How long does DNS propagation take?
How long does DNS propagation take?
How do I disconnect my custom domain?
How do I disconnect my custom domain?
Will my site have HTTPS?
Will my site have HTTPS?
How do I remove the 'Built with Magic Patterns' badge?
How do I remove the 'Built with Magic Patterns' badge?
Why am I still seeing the old version of my site?
Why am I still seeing the old version of my site?