A custom domain allows you to have a professional looking domain such as example.net or play.example.net.

Go to your NameCheap dashboard.
Select your domain and click Manage.

Click Advanced DNS.


With a dedicated IP:
If you have a dedicated IP, you are not required to make a SRV record, as you have Minecraft Java's default port.

Press Add New Record, then select A Record.

In the Host box, type @ if you want it to be just your domain, or you can put play/mc if you wish for that to be the domain prefix (play.revivenode.com/mc.revivenode.com).
In the IP Address box, type your Minecraft server's IP (without the port).

Finally press the green tick.

Without a dedicated IP:
If you do not have a dedicated IP, you are required to make a SRV record, as you do not have Minecraft Java's default port.

Press Add New Record, then select A Record.

In the Host box, type @ if you want it to be just your domain, or you can put play/mc if you wish for that to be the domain prefix (play.revivenode.com/mc.revivenode.com).
In the IP Address box, type your Minecraft server's IP (without the port).

Press the green tick.
Then click Add New Record again, but this time, select SRV.
You are then going to type the following things in each box:

Service: _minecraft
Protocol: _tcp
Priority: 0
Weight: 5
Port: [your port]
Target: [your domain]

or

Service: _minecraft
Protocol: _tcp.play
Priority: 0
Weight: 5
Port: [your port]
Target: [your full domain]

If you put a @ in the A record, you should use the first one, if you used play/mc/anything else, you need to use the second one.

This can take up to 2 hours to update and start working!