Skip to main content

Command Palette

Search for a command to run...

How to get a free domain and DNS hosting?

Published
5 min read
How to get a free domain and DNS hosting?
P

I am a full-stack web developer and a student of computer science in Maribor. I am passionate about web development and I love to learn new things. Likewise, I am also writing a blog, where I share my knowledge and experience. And love Scandinavian culture called Hygge, and I am trying to live by it.

What is a domain?

A domain is a name on the Internet that can represent an organization, an individual, or something else. We associate IP addresses with this name, as a domain is easier to remember than an IP address.

Example of a domain and its IP address

 https://google.com        74.125.205.113 (IP address valid on the day of publication)

Each domain consists of a suffix (com) and a name (any name for example hashnode). There is always a dot between the suffix and the name.

The most common domain extensions

  • .com commercial domains

  • .net network services

  • .org non-profit organizations

  • .eu European domain (limited to European Union citizens and organizations)

These domains can be registered by anyone according to the “first come, first served” rule. However, there are domain extensions that can only be registered by certain organizations.

Examples of such domains are:

  • .edu for US educational institution

  • .gov for US government organizations

  • .mil for U.S. military

We register the domain at the domain registration emphasis, some of which are:

We have to pay a certain amount to register and after the purchase, we become the happy owner of the domain.

What is a DNS server?

The DNS server allows us to store DNS records. It works in a very simple way to connect an IP address to a domain.

There are several types of DNS records:

  • ** A record ** - a record that has an IPv4 domain address.

  • ** AAAA record ** - a record that has an IPv6 domain address.

  • ** CNAME record ** - Forwards one domain or subdomain to another domain, does not provide an IP address.

  • ** MX record ** - Directs mail to the email server.

  • ** TXT record ** - Allows the administrator to save text notes in a record.

  • ** SOA record ** - Stores administrator information about the domain.

  • ** SRV record ** - Specifies the port for certain services.

  • ** PTR record ** - Provides a domain name in reverse lookup paths.

Free domain and DNS hosting

When a developer needs a free domain to test a particular service or doesn't have the money to register a domain. Therefore, there are options on how to obtain a free domain.

One commonly known domain that you can get for free is the .tk domain but it is not exactly popular among web service providers (because they are used by many hackers and spammers). So today I’m going to show you another way to get a free subdomain with extensions eu.org.

In my opinion, this is one of the better domains that we can use for websites. Currently, I also use this domain for my sites because I don’t have the money to register a domain.

.eu.org domain can be obtained at https://nic.eu.org/ (I know the site looks very outdated but works 😂).

First site of eu.org domain register

Let's go to the website where we register and get a new account.

Register form on eu.org

After creating the account, we will receive a message (check spam folder) at the previously entered e-mail address with a link to confirm our user account. Then we can sign up.

Upon registration, we will see all the domains we own (none yet).

List of domains

When we create an account and log in for the first time, a list of domains we own is displayed.

Now the time has come when we can create our domain. We press the “New Domain” button and a page will open where we can create and register our new domain.

Create new domain form

Fill in the required information. Enter the following two from Cloudflare next to the name of the DNS servers

NS1 elaine.ns.cloudflare.com
NS2 sage.ns.cloudflare.com

Add DNS nameservers

And press the "Submit" key. This will send a request for a new domain.

We'll receive a domain creation confirmation in a few days after approval, and we'll be able to add it to Cloudflare, to host DNS records.

Cloudflare provides free DDOS protection, free SSL certificates, site rules, caching and minimization of static web files, and easy site analysis ...

We simply create an account by going to their website.

Cloudflare register page

And we enter our email address and come up with a secure password. We receive a confirmation email and our account has been created.

We can now add our domain. This is simply done by clicking “Add a Site”

Add site button click

Then in the next window that opens, enter the domain name you want to add.

We choose the package we want to use, it will probably be free, because it is enough for basic needs.

Select package of Cloudflare domain

In the next step, the wizard itself will automatically scan for existing DNS records and overwrite them if they exist.

Check for DNS records

Finally, we will be prompted to change the DNS server names and that’s it.

Prompt for update DNS records

For eu.org domain, we change the DNS server by simply clicking on our domain.

Find the “Nameservers” key and replace the existing ones with new ones.

Update DNS nameserver - stap 1

Now enter the first required server address in the Name1 field in Name2, the other required address.

Update DNS nameserver - stap 2

So, we set up our domain and now we have to wait for all the indirect servers to update (this can take up to 24 hours).

What DNS records can be checked with a tool like What is my DNS

If you want to set up a website for free, read more about the providers in this post [Want to Host Your Website for free?](https://inshaweb.hashnode.dev / want-to-host-your-website-for-free) by @Inshaweb

If you found the post useful, you can comment or share the post with others 🤗. Don't forget like it 😊.

B

I have problem. Why does it shows ---- Servers and domain names check

Getting IP for ELAINE.NS.CLOUDFLARE.COM: 172.64.32.152 173.245.58.152 108.162.192.152 Getting IP for ELAINE.NS.CLOUDFLARE.COM: 2803:f800:50::6ca2:c098 2a06:98c1:50::ac40:2098 2606:4700:50::adf5:3a98 Getting IP for SAGE.NS.CLOUDFLARE.COM: 172.64.35.236 162.159.44.236 108.162.195.236 Getting IP for SAGE.NS.CLOUDFLARE.COM: 2606:4700:58::a29f:2cec 2803:f800:50::6ca2:c3ec 2a06:98c1:50::ac40:23ec

---- Checking SOA records for BUMANTARA.EU.ORG

SOA from ELAINE.NS.CLOUDFLARE.COM at 172.64.32.152: Error: Answer not authoritative (2.591 ms) SOA from ELAINE.NS.CLOUDFLARE.COM at 173.245.58.152: Error: Answer not authoritative (2.915 ms) SOA from ELAINE.NS.CLOUDFLARE.COM at 108.162.192.152: Error: Answer not authoritative (3.207 ms) SOA from ELAINE.NS.CLOUDFLARE.COM at 2803:f800:50::6ca2:c098: Error: Answer not authoritative (17.439 ms) SOA from ELAINE.NS.CLOUDFLARE.COM at 2a06:98c1:50::ac40:2098: Error: Answer not authoritative (76.261 ms) SOA from ELAINE.NS.CLOUDFLARE.COM at 2606:4700:50::adf5:3a98: Error: Answer not authoritative (81.853 ms) SOA from SAGE.NS.CLOUDFLARE.COM at 172.64.35.236: Error: Answer not authoritative (3.368 ms) SOA from SAGE.NS.CLOUDFLARE.COM at 162.159.44.236: Error: Answer not authoritative (11.610 ms) SOA from SAGE.NS.CLOUDFLARE.COM at 108.162.195.236: Error: Answer not authoritative (3.385 ms) SOA from SAGE.NS.CLOUDFLARE.COM at 2606:4700:58::a29f:2cec: Error: Answer not authoritative (16.518 ms) SOA from SAGE.NS.CLOUDFLARE.COM at 2803:f800:50::6ca2:c3ec: Error: Answer not authoritative (18.210 ms) SOA from SAGE.NS.CLOUDFLARE.COM at 2a06:98c1:50::ac40:23ec: Error: Answer not authoritative (17.427 ms)

---- Checking NS records for BUMANTARA.EU.ORG

NS from ELAINE.NS.CLOUDFLARE.COM at 172.64.32.152: Error: Answer not authoritative (3.683 ms) NS from ELAINE.NS.CLOUDFLARE.COM at 173.245.58.152: Error: Answer not authoritative (3.520 ms) NS from ELAINE.NS.CLOUDFLARE.COM at 108.162.192.152: Error: Answer not authoritative (3.456 ms) NS from ELAINE.NS.CLOUDFLARE.COM at 2803:f800:50::6ca2:c098: Error: Answer not authoritative (69.799 ms) NS from ELAINE.NS.CLOUDFLARE.COM at 2a06:98c1:50::ac40:2098: Error: Answer not authoritative (67.727 ms) NS from ELAINE.NS.CLOUDFLARE.COM at 2606:4700:50::adf5:3a98: Error: Answer not authoritative (57.658 ms) NS from SAGE.NS.CLOUDFLARE.COM at 172.64.35.236: Error: Answer not authoritative (3.769 ms) NS from SAGE.NS.CLOUDFLARE.COM at 162.159.44.236: Error: Answer not authoritative (9.622 ms) NS from SAGE.NS.CLOUDFLARE.COM at 108.162.195.236: Error: Answer not authoritative (3.062 ms) NS from SAGE.NS.CLOUDFLARE.COM at 2606:4700:58::a29f:2cec: Error: Answer not authoritative (18.166 ms) NS from SAGE.NS.CLOUDFLARE.COM at 2803:f800:50::6ca2:c3ec: Error: Answer not authoritative (19.412 ms) NS from SAGE.NS.CLOUDFLARE.COM at 2a06:98c1:50::ac40:23ec: Error: Answer not authoritative (11.841 ms)

24 errors(s)

More from this blog

T

ThePatik

32 posts

Come and explore my blog where I share my enthusiasm for web development and document my progress in learning computer science. Let's embark on this exciting journey together! 🚀