Hello, i would like to change hostname for my dedicated server and ISPConfig from hostname of my provider to my own. How can i do it? For example iam using domain.com hosted on my server. For example i would like to use own hostname server.domain.com and now hostname of my provider. In this case what should i do if i want to change it and all will be working fine? First create A records via my provider with name server.domain.com pointing to IP address of my server. After that rewrite and set new hostname in files /etc/hosts /etc/postfix/main.cf /home/admispconfig/ispconfig/lib/config.inc.php /root/ispconfig/httpd/conf/httpd.conf /etc/hostname ? Or somewhere else for example for my phpmyadmin, roundcube etc? Should i add this my new hostname in ispconfig in DNS?
The early steps i.e. of what to do in the CLI are covered in Debian / Ubuntu Minimal install tutorial. For others, you can change what is needed in ISPConfig after forcing ISPConfig update to create SSL for that new hostname. I can't remember the right steps but you should definitely start with the CLI.
Thank you. And should i set somewhere new hostname for mysql? Or only in hosts file? Or can i use jsut hostnamectl set-hostname {NameHere}?