I didn’t really like a hostname alike h961164.serverkompetenz.net. After some strugling with my local DNS system, I was able to get louisiana.hostdelight.com propagated to 85.214.54.92. The reason I chose for the hostname louisiana is simple. I use for every box I own/manage a name of an US state. Louisiana got flooded with water when the hurricane Katrina stroke, and I’m going to flood this (virtual)server with tests and config panels.
Now, I already used the term ‘hostname’, which is by the letter incorrect. For I am not able to set a hostname using (#$@#$) Suse. I tried to edit /etc/hostname, which didn’t exist yet, but it didn’t had any effect. I tried to use /bin/hostname, but, after a reboot it was gone again. I tried the plesk config panel as a last desperate move…. it didn’t work. I replaced all items in /etc/resolv at 127.0.0.1 to louisiana… it didn’t work. Then I found a file called /etc/HOSTNAME (mind the capitals). I opened this one, edited it to louisiana, rebooted my VM… no effect at all.
Just as I’m writing this post, I think of the latest solution I can think of: Make a bash script in /etc/init.d/ and /etc/rc*.d/ which sets the hostname correctly after having loaded all core files and stuff. My conclusion might be too early (though, I guess not wrong):
SUSE SUCKS!