How can I specify my desired hostname before I install cPanel?
There are 2 tools that can be used to perform this task, either one will work. Please make sure to use a fully qualified domain name as your hostname. You can read more about this here.
- Method 1)
- Method 2)
hostnamectl set-hostname $HOSTNAME