These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for change hostname and edit settings on the new forum.
Hello to all,
I am posting this topic regarding a few changes that i need to do in my server, i have concluded well the last topic created thanks to a few users contributions (https://www.virtualmin.com/node/24481).
Right now i need to change the hostname that i have in my server since is not the one i want to use and i think some functions are not working so well right now, i have virtualmin installed, updated.
I am not sure were ican perform this changes since i have already a few websites running inside of it. I am afraid that some changes may destroy all the work done till now. Can anyone experienced the same thing? And can you guide me to a solution?
Thanks a lot in advance - wormsunited
You won't lose everything you've done this far :-)
All you need to do is go into Webmin -> Networking -> Network Configuration -> Hostname and DNS Client, and you can change your hostname there.
Once you do that, you'd then want to verify that in /etc/hosts, that your hostname is correctly updated there. You would also want to make sure that in /etc/postfix/main.cf, the "mydestination" line should contain your hostname.
-Eric
hi Guys,
i just change my Hostname.
Using Hostname worked!
root@hetzner ~ # hostname
hetzner
root@hetzner ~ # hostname -f
hetzner.oarp.de
My Question is now, what name must I enter in /etc/mailname and /etc/postfix/main.cf (myhostname and mydesktination)?
The FQDN or the hostname?