GUIDE
Setting Up DNS

Setting up DNS

Prerequisites

Domain

You will need to have your own domain name first before we can continue. If you don't have your domain yet, you can Get your domain here (https://www.namecheap.com/ (opens in a new tab))

Cloudflare

You need to sign up for Cloudflare account if you don't have it already. Free plan is enough (https://www.cloudflare.com/ (opens in a new tab))

DNS Management

We will use Cloudflare as our DNS Manager. You can plan ahead for which DNS do you want to use.

In this case, we will use our crossfi setup as example.

Cloudflare Setup

After you registered to Cloudflare, you will see your dashboard, click on "Add a site" to continue

dns

Fill in your domain name (example: zulnaaa.com), then click continue

dns

Cloudflare will prompt you to update your nameserver settings to their nameserver, you can set it up in your domain provider

dns

After your nameserver propagated, go to DNS > Records, then click on "Add record" as shown below on the bottom right corner

dns

Fill in the required details Select A for the Type, fill in your subdomain in Name field, and your server IPv4 Finally, set the Proxy status to DNS only by clicking on it

dns

After everything is done, it will look like this

dns

Now you have set up your domain, but it won't work yet, let's continue to setup our server