Setting up HTTPS with DigitalOcean

Alright, so there are two ways you can handle this.

  1. Set a A record, and point kwonfred.com to your droplet’s IP.
  2. Add a wildcard CNAME record

Or,

Add an A record that directly points to chat.kwonfred.com

This is a good article on the second option. I actually recommend you go with that one. Look at the Gif that is embedded in that article.
In a gist, you need to select A to be the type of the record, then for host, enter just the subdomain part (chat in your case), and finally enter the IP that this subdomain should point to.

First thing you need to do is read the article I linked. Then follow those instructions for your own registrar. It shouldn’t be much different. After that’s done, wait. ping the domain ping -c1 chat.kwonfred.com to see if it resolves to your droplet’s IP or not. Once it does, rerun the rocketchatctl command, and you should be able to access your server on https://chat.kwonfred.com

If you have any questions regarding this, feel free to reply here, we’re here to help.

EDIT - You can use this as well to periodically check if your domain resolves to the correct IP or not - DNS Lookup Tool - DNS Tools - MxToolbox