Changing GoDaddy secureserver PLESK server hostname

So, changing the hostname on My CentOS Virtual Machine keeps reverting back to ip-xxx-xxx-xxx-xxx.ip.secureserver.net, Not exactly what i want, especially when there is a 1,000 Emails mail quota for all godaddy VPS, i don’t really use this particular box for anything important, But i do need to have things right on every single box i run, With 10 Servers and 2 Virtual Dedicated servers, i really can use every peice of related information i can use.

So, the PLESK over virtuzzo has a license key, and i very much doubt that it is related to the hostname, but i will keep you posted once i finish the following steps

1- Adding the domain name (Sub domain as domain) to PLESK so that mail routs internally without going to godaddy once things change, So servername.powerdonkey.com domain gets added to PLESK.

Changing in the following places

/etc/hosts

/etc/sysconfig/network

/etc/network/interfaces
Then /etc/init.d/networking restart
/var/qmail/control/me
/etc/httpd/conf/httpd.include
hostname servername.powerdonkey.com
/etc/hostname

/etc/init.d/hostname.sh start

For testing

hostname
hostname -f

In the psa mysql database , in misc table (FullHostName, sso_relay, sso_server, sso_server_user_url), While the first updates from within CP, the other two do not !

Now, what about that… will it requier a full server reboot, or just

/etc/init.d/psa stopall
/etc/init.d/psa stop
/etc/init.d/psa start

Leave a Reply