Skip to content
← Back to Community
How to connect my domain (outside of repl.it)
Profile icon
ArtsyGalaxy

Almost all night I've been trying to connect a free domain to repl.it to make sure it works before buying my actual one. It hasn't been connecting! I know I have to wait about 24 hours, but every few hours it has an error and starts over.

I'm not really interested in web hosting, but does anyone know a way and/or website I can use to add my code and add my domain?

Voters
Profile icon
Crytoxs
Profile icon
ArtsyGalaxy
Comments
hotnewtop
Profile icon
LuukWalstra

You can get a free domain at https://freenom.com

When you bought a domain there, you have to go to the name servers and set it on default domain servers. Go to your DNS and add an A-record. Leave the name blank and set target to 35.201.120.147 . Save it and link your website. You CAN'T use www. If you want to use www. you have to add a CNAME, set the name to www and set the target to the link what you get in your repl and link your domain.

Profile icon
trg5503

In the repl.it project editor, press the pencil button next to the URL bar in the website preview. Type/paste your domain into the box, then in your Freenom DNS settings add a new CNAME record with the randomly-generated repl.co URL then apply the changes in both places.

Read the support article for more in-depth information.

Profile icon
ArtsyGalaxy

Ive done that but after an hour it just stops and gives an error @trg5503

Profile icon
trg5503

@ArtsyGalaxy What error does it give?

Profile icon
AllAwesome497

If you want to test it, i can point a sub domain of mine towards it for now.

Profile icon
AllAwesome497

I have setup a domain before, but it was paid. Are you using freenom?

Profile icon
ArtsyGalaxy

@AllAwesome497 My free domain is with freenom, but once I figure out how to do this I'm buying .com; That would be great. How would we go about doing this?

Profile icon
AllAwesome497

@ArtsyGalaxy tbh, i never figured out freenom. But, if you get a domain from google domains i can guide you through the steps.

Profile icon
ArtsyGalaxy

@AllAwesome497 Okay, I'm at the site now

Profile icon
amandaeshelman

@AllAwesome497 im trying to link my repl to a google domain and im having a bit of a hard time. would you mind walking me through what you did?