I’m trying to follow this tutorial on setting up exim but for Ubuntu 16.04. I’m stuck on setting up the FQDN.
If I run hostname -f the result is mytime4caregivers. My DNS for this server is set up to host the site at https://mytime4caregivers.com. Does that mean my FQDN should be mytime4cargivers.mytime4caregivers.com?
Here’s my setup and what I’m trying to do:
I think I should be updating /etc/hostname and /etc/hosts with the correct information, but I’m not sure what that should be. None of the tutorials that I’ve found seem to offer clear guidance. Thanks!
P.S. Here is my zone file per the DO DNS setup:
$ORIGIN mytime4caregivers.com.
$TTL 1800
mytime4caregivers.com. IN SOA ns1.digitalocean.com. hostmaster.mytime4caregivers.com. 1474757364 10800 3600 604800 1800
mytime4caregivers.com. 1800 IN NS ns1.digitalocean.com.
mytime4caregivers.com. 1800 IN NS ns2.digitalocean.com.
mytime4caregivers.com. 1800 IN NS ns3.digitalocean.com.
mytime4caregivers.com. 1800 IN A 104.131.68.19
email.mytime4caregivers.com. 1800 IN CNAME mailgun.org.
mytime4caregivers.com. 1800 IN MX 10 mxa.mailgun.org.
mytime4caregivers.com. 1800 IN MX 10 mxb.mailgun.org.
mytime4caregivers.com. 1800 IN TXT v=spf1 include:mailgun.org ~all
mailo._domainkey.mytime4caregivers.com. 1800 IN TXT "k=rsa; p=..."
www.mytime4caregivers.com. 1800 IN A 104.131.68.19
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @ryanpq:
If you want to send email from accounts like yourname@mytime4caregivers.com then your FQDN would be mytime4caregivers.com. You may want to update the hostname on your droplet to be the FQDN mytime4caregivers.com instead of the name mytime4caregivers, doing this in the control panel as well as your OS will make sure that your PTR (Reverse DNS) record for mytime4caregivers.com is also set up for your droplet’s IP.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.