Hi,
I operate a Linux server that runs on openSUSE and it uses Plesk to manage websites and user accounts, however, because Plesk requires the system to have a specific hostname which is based on my website domain name, my hostname must be the same as my domain name (according to my setup).
I'm however finding it hard to keep the hostname changes permanent, as every time I change my hostname and restart the network service, the domain reverts to the default one and hence messes up Plesk configuration.
I change my hostname using the hostname command but although I've also made the required edits for /etc/HOSTNAME and /etc/hosts, the hostname will keep reverting to the default one no matter what.
I remember making the changes permanent by editing the file /etc/sysconfig/network and making it read only so that no changes would occur in the file. How can I achieve something similar in openSUSE? I run openSUSE version 12.3. Any suggestion will be hugely appreciated!
I operate a Linux server that runs on openSUSE and it uses Plesk to manage websites and user accounts, however, because Plesk requires the system to have a specific hostname which is based on my website domain name, my hostname must be the same as my domain name (according to my setup).
I'm however finding it hard to keep the hostname changes permanent, as every time I change my hostname and restart the network service, the domain reverts to the default one and hence messes up Plesk configuration.
I change my hostname using the hostname command but although I've also made the required edits for /etc/HOSTNAME and /etc/hosts, the hostname will keep reverting to the default one no matter what.
I remember making the changes permanent by editing the file /etc/sysconfig/network and making it read only so that no changes would occur in the file. How can I achieve something similar in openSUSE? I run openSUSE version 12.3. Any suggestion will be hugely appreciated!