2,187
edits
(→Initial Setup: Added "Install VM Tools") |
m (→DNS Records: Added note on using CNAME's) |
||
Line 104: | Line 104: | ||
#* EG <code> mail.sandfordit.com [A] -> 158.25.34.124 </code> | #* EG <code> mail.sandfordit.com [A] -> 158.25.34.124 </code> | ||
#* <code> 158.25.34.124 </code> is the static IP address assigned by your ISP. You'll need to set-up a NAT on your router (often oddly called a virtual server in domestic routers) to map incoming mail on TCP 25 to your email server's actual address (EG <code> 158.25.34.124:25 -> 192.168.1.150:25 </code>. | #* <code> 158.25.34.124 </code> is the static IP address assigned by your ISP. You'll need to set-up a NAT on your router (often oddly called a virtual server in domestic routers) to map incoming mail on TCP 25 to your email server's actual address (EG <code> 158.25.34.124:25 -> 192.168.1.150:25 </code>. | ||
Note, instead of an A record you can use a CNAME record if you prefer, though obviously the CNAME record will still need to point to a valid A record. Using a CNAME might be preferable, if for example you've multiple services running from a single public IP, that you might want to split out in the future to run on separate IP's, at which point you can replace the CNAME records with A records. | |||
=== OS DNS Setup === | === OS DNS Setup === |