Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to create custom domains using FreeDNS
Acronymical (14)

What is FreeDNS?

FreeDNS is a service created by Joshua Anderson, where people share their domains that you can use to create subdomains at no extra cost.

How do I use FreeDNS?

In order to use FreeDNS, you need to create a FreeDNS account. Go to https://freedns.afraid.org to create your account. Scroll to the bottom, and click Sign Up. It should look like this:

Fill in the above fields, and sign up. It will ask you to verify your account via email, so do that.

How do I create a subdomain?

In order to do this, go to FreeDNS and click Subdomains, as shown below.

It should bring up a menu that looks something like this (Note that I have my domains blocked out, and yours will not have any domains.

To create a subdomain, click Add. It should bring up a menu that looks like this:

This is the most important menu. It might be chickenkiller.com set default. Click chickenkiller.com, and at the bottom of the list should be a menu that says "Many many more available..." and click that. It should bring up this:

Click on the button that says "Shared Domain Registry", or just click what's in the quotes. It will bring up a menu of possible domains you can use.

For the sake of this tutorial, we will use uk.to. Click uk.to, and you will be brought back to the menu where we can create our domain. Once you are there, click the domain type dropdown that has A and replace it with CNAME type. Once that is done, go back to your repl, and click the pencil icon that is next to the link bar. It should look like this:

Type in your created domain (For my personal website, I used https://acronymical.uk.to, but yours can be different) into the spot where it asks you to. Once that is done, this will be brought down (I blurred a part out):

Click Copy, and go back to FreeDNS. Go to the Destination field and paste your selected key. Once that is done, do the captcha and create the domain. Go back to your repl, and select "Next". Repl is now trying to reach through your domain. It can take up to 48 hours, but when it's done, it will say:

Your domain is configured correctly. Linking could take a few minutes. Please don't leave this page.

Once it says that, click "Link Domain". Once you click that, wait a few moments (or minutes), and then your repl will have a custom domain!
Please ask any questions in the comments section. Have a good day!

Edit 1: I am aware that the domain was not working with the past example. I replaced it with my personal website, which has a working domain.

Edit 2: It appears my personal website doesn't want to load. Go to https://acronymical.uk.to