How to add a DNS record in freenom domain registrar
- Server with public IP address
- Nginx webserver installed in the server
- Have access to one domain with administaration access
Types of DNS records
- A (Host address)
- AAAA (IPv6 host address)
- ALIAS (Auto resolved alias)
- CNAME (Canonical name for an alias)
- MX (Mail eXchange)
- NS (Name Server)
- PTR (Pointer)
- SOA (Start Of Authority)
- SRV (location of service)
- TXT (Descriptive text)
A DNS record type
The A-record is the most basic and the most commonly used DNS record type.
It is used to translate human friendly domain names such as “www.example.com” into IP-addresses such as 18.104.22.168 (machine friendly numbers).
The IP-address should be public.
Lets configure the
A DNS record to forward the domain
devopspilot.tk to public IP-address
I already have a server with nginx webserver installed on public IP-address
Lets see the nginx home page in browser using public IP-address
Now we can go to Freenom website to add the
A DNS record
Go to website freenom
Sign in using Google
Manage Freenom DNS
Name feild –> which will point to root domain
Type your public IP-address
DNS record added successfully.
Wait for 5 minutes to take effect.
Now we can access the nginx webserver homepage using domain
devopspilot.tk in browser
Hurray! finally we accessed the nginx webserver homepage using domain name.