Setting correct hostname

Posted by Vlad on Super User See other posts from Super User or by Vlad
Published on 2010-03-20T17:44:13Z Indexed on 2010/03/20 17:51 UTC
Read the original article Hit count: 492

Filed under:
|

Hi, when i type

cat /etc/hostname

the console show me my ip adress, when i type cat /etc/mailname

it shows me my-ip-adress.internetserviceteam.com

I have no idea if it's a problem or not, but i was lokking through a lot of postfix install tutorials, and there when typing cat /etc/hostname they were geting their site name. Why do i get just a ip-adress? Maybe i messed up something when i set up my dns and domains with the webmin tool (I did that for the first time in my life)?

OS: debian

© Super User or respective owner

Related posts about debian

Related posts about hostname