Skip to content
mini.casa
Guides

Connecting a custom domain without losing track of your email

A domain connection is easier to follow when website routing, ownership and email each have their own check.

Connecting a domain can look like a single copy-and-paste task. In practice, a useful setup flow answers several questions: do you control the address, does its DNS point to the intended service, is HTTPS ready, and is existing email still working? Keeping those questions separate makes a confusing “pending” status easier to investigate.

Begin with a page that already works at its free or temporary address. Test the content and main links there. You can then focus on the address connection instead of trying to debug the page and DNS at the same time.

Find the place that manages DNS

The account where you bought the domain and the service managing its DNS may be different. Identify the active DNS provider before editing records. Keep a copy of the existing configuration and note which records already support a website, mail service or another application. If someone else manages the domain, ask them to make the specific changes shown by your site service.

Avoid collecting setup instructions from several unrelated tutorials and combining them. Use the instructions generated for your actual domain and account. Placeholder targets in a guide are examples, not values to paste into a live configuration.

Understand the record you are being asked to add

A CNAME maps one hostname to another hostname. It does not contain your page content. The receiving site service still needs to recognize the custom address. Cloudflare documents CNAME behavior in its DNS record reference.

Your setup screen should specify the record type, name, value and any required proxy setting. Copy each field carefully. The bare domain and a subdomain such as www.example.com may need different instructions. Do not assume that connecting one automatically configures the other, or that every DNS provider treats the bare domain the same way.

Expect ownership and HTTPS checks

The service may ask for a verification record as well as the routing record. Follow the instructions for each purpose and keep them distinct. In Cloudflare for SaaS, hostname ownership and certificate validation are separate states, and production readiness also depends on DNS pointing to the service. See its hostname validation documentation.

A saved DNS record is therefore a useful step, but not proof that the whole connection is complete. Wait for the service to report the relevant checks as ready, then open the public address. If it remains pending, check the exact record and error before repeatedly replacing settings.

Keep your mail settings intact

Connecting a website is not permission to replace the domain’s mail setup. If you already use a mailbox service, identify its MX and related authentication records before making changes. Do not remove them just because a different setup screen offers email forwarding.

Cloudflare notes that its Email Routing MX records can conflict with another mail provider’s records in its email troubleshooting guide. Treat a mail migration as its own decision. A website connection should have a clear path that leaves your existing email service in place.

Test the address someone will actually use

Open the chosen primary address, test the main button and submit a test inquiry if the page includes a contact form. Check any supported alternate address and the intended redirect. Then send and receive a normal test email through your existing mail service if the domain uses one.

If something fails, keep the error text and the time you tested it. Share the domain and non-secret record details with support through the appropriate channel. Never post account passwords or unrestricted API keys in a help thread.

Once everything is working, record which service hosts the page and which manages the domain and mail. That short note can save a surprisingly long afternoon when you return to change something next year.