localhost as hostname confusion [duplicate]
- by Baboon
This question already has an answer here:
localhost as hostname confusion
1 answer
I have a basic understanding about hostname and FQDN. Now I am confused, do I really have to specify a name for my hostname? So for example:
Hostname: somename
Domain: mydomain.com
FQDN: somename.mydomain.com
Now, I see something that the hostname is localhost. What is the difference and impact of that? So my FQDN if localhost is my hostname would be localhost.mydomain.com, right?