Creating an A Record
On your domain's DNS manager, create a new A Record
Creating an SRV Record for servers without default port
By default a custom domain points to Minecraft's default port 25565. If your server doesn't have that port you will need to setup an SRV to point to your servers port.