.co.uk domains do not allow for A records

Problem description:
If you use a .co.uk domain, and your host does not support CNAME records on the root domain, you cannot link it to replit.

Expected behavior:
You should be able to get an A record with a .co.uk domain

Actual behavior:
It believes that there is a subdomain so only allows you to use a CNAME (which does not work in my situation).

Steps to reproduce:
Attempt to link a .co.uk domain to a replit project

Browser/OS/Device:
Mozilla Firefox 109.0.1 (64-bit)

1 Like

I encountered this before but i fixed it using this method:
Copy the CNAME url, run this command with the url

dig +short <copied url>

Copy the result and put it as your A record, it should be the equivalent ip.

2 Likes

I’ve done this, however even after several hours (when https://www.whatsmydns.net/ has updated) the domain has not linked.

1 Like

Hey @aviationjoe!

Can you send me the link to the Repl and the name of the domain you are trying to link? When you send me the info, please make sure that your domain is set up as far as you can so I can debug!

Would be cool to allow for A records.

I don’t actually know if cloudflare allows CNAME records on the root, so I am going to setup cloudflare and check first real quick.

Yeah I got it working with Cloudflare anyway, thanks for your help though.