https://panel.your_domain_name:8000/ opens the Ajenti control panel. Before we can setup your website at
http://your_domain_name/ and configure email addresses for your domain, there are a few DNS modifications that need to be made.
We need to add 2 records to make sure your website and email addresses work properly. Go tocloud.digitalocean.com/domains/ and click on the blue View button (it looks like a magnifying glass) for the domain you configured when setting up the Ajenti control panel and Ajenti V.
Click the blue Add Record button, and select MX. In the Enter Hostname text box, enter
@. In the Enter Priority text box, enter
10. Then click the blue Create MX Record button.
If you are configuring the same domain that has the Ajenti control panel on it, you also need to add a TXT record. For instance, if you access Ajenti on panel.example.com you should add this record. If you access it on panel.otherdomain.com, you do not need to add the TXT record.
To add the TXT record, click the blue Add Record button again, and select TXT. In the Enter Name text box, enter
@. In the Enter Text text box, paste this in:
v=spf1 a ip4:your_server_ip ~all (replacing the IP with your Droplet’s IP). Click the Create TXT Record button.
Your domain DNS settings should now look like this. Note that the domain I used was
jonaharagon.me. Your domain will vary.
Your zone file will then look something like this:
$ORIGIN example.com. $TTL 1800 example.com. IN SOA ns1.digitalocean.com. hostmaster.example.com. 1434177047 10800 3600 604800 1800 example.com. 1800 IN NS ns1.digitalocean.com. example.com. 1800 IN NS ns2.digitalocean.com. example.com. 1800 IN NS ns3.digitalocean.com. example.com. 1800 IN A 184.108.40.206 example.com. 1800 IN MX 10 example.com. example.com. 1800 IN TXT v=spf1 a ip4:220.127.116.11 ~all panel.example.com. 1800 IN A 18.104.22.168