Cruzio, by default, sets up your VPS under our domain, in the form yourusername.cruziohost.com, where yourusername is your actual user name.
If you’re using Virtualmin, there is no real reason to change this, but if you’re planning to use your Cruzio VPS for Zimbra hosting, or some other reason where you’d rather have the name of the VPS be yourhostname.yourdomain.com, or even yourdomain.com, here are the steps to take to make it so.
To change the hostname
On Debian:
- Edit /etc/hostname
- Edit /etc/hosts
- Reboot.
On Centos:
- Edit /etc/sysconfig/network
- Edit /etc/hosts
- Reboot.
To change the reverse record
- Log into the Xen shell.
-
Issue the command
rdns
to view your current entry and find your IP address.
-
Issue the command
rdns IP_address yourhostname.yourdomain.com
- Reverse DNS entries can take a couple of hours to propagate.