Link your domain name to your server



To avoid needing to remember an IP, this guide will help to link your domain name to your server.

Login to your domain name registrar

Login to the registrar, and select the domain name you want to point at your server.

Find the section for DNS

The domain name should have a section named, "DNS", "Custom DNS records", or something similar to this. Find, and open it, there should be a bunch of boxes and an option to add a new record

Add the A record

There will likely be many option for adding records, but all we need is to add a singular A record

Find the box that allows you to "Add a new record" and input the below, changing and with your IP address, and domain name

If there are not multiple boxes, but instead a single box to input your record into, this will be what you add instead

Wait for propagation

Now there's a bit of a waiting game, as you need to wait for the new DNS record to propagate (get updated) for all nameservers. This can be anywhere from instantly to 72 hours, but typically takes an hour or two.

Check your domain has propagated

Pinging the domain name will let you know when the IP has propagated, as when the ping command shows your IP, you're all set