Let's say I bought this domain: example.com
Name servers
under DNS manager all points to example.com
That subdomain(example.com
) of nameservers points to an IP.
Also, note that hostname unique
is under an A
record to said IP
My First question: under etc/hosts
, how should the FQDN be
xx.xx.xxx.xxx unique.example.com unique
ORxx.xx.xxx.xxx example.com example
ORxx.xx.xxx.xxx unique unique
Both have dns records and both represent the same ip. In the first case unique is the hostname and the FQDN is unique.example.com. In the second case, example is the hostname and example.com is the FQDN.
So, given a FQDN have to represent the server name. Which one is true ?!
Given all that, when I try to install postFix, and it asks for FQDN, I just don't know what to write as both options seems valid.
However, if I write unique.example.com then my emails become user@unique.example.com
which is not what I would expect.
Context: Ubuntu 14.04 VPS, webmin/virtualmin. I accidentaly installed sendmail package and my whole postfix virtual min is no longer working! So, that question comes from me trying to install back postfix.