Skip to content
Sign upLog in
← Back to Community
Link custom domain to Repl.it using A Record
Profile icon
sportycoder18

Hello!
One of the things I love about Repl.it is that I can connect a custom domain to repl.it by placing CNAME records in my DNS provider.

I just learned that a CNAME record cannot be used to point the root domain to repl.it. In other words, If my domain is example.com I cannot link example.com to repl.it because example.com is my root domain and CNAME records cannot be placed on it. I could link subdomain.example.com, but not the root domain all by itself.

I was wondering if there was any way to link my domain to repl.it using A records. Instead of pointing a domain to a repl.it subdomain using CNAME records, an A record would point my domain to a repl.it IP address. That way I could link my root domain to repl.it. Additionally, I could configure email with the domain that's connected to repl.it because you cannot configure MX records and CNAME records for the same domain/subdomain. However, A records and MX records will work if put in the same domain/subdomain.

Just wondering if anyone has found a way to link a domain/subdomain from DNS provider to repl.it using A records and IP addresses instead of CNAME records.

Thanks!

Voters
Profile icon
MeMasterMind
Profile icon
WoonSeng1
Profile icon
sportycoder18
Comments
hotnewtop
Profile icon
WoonSeng1

@sportycoder18
it does, instead of putting the cname in the cname part of your dns manager, put it in the alias!

https://jasbot.xyz/

Profile icon
WoonSeng1
Profile icon
nooby-xviii

im pretty sure it wont work since repl.its ip addresses change constantly

Profile icon
Coder100

Hello, this feature can be implemented by devs I'm sure! Click here for the feedback page