Changing Server Hostname

To change your hostname, enter the following command as root:

$ hostname servername.yourdomain.com

If you are using cPanel, you will need to resync your license with the cPanel license server. To do this, use the following command:

$ /usr/local/cpanel/cpkeyclt

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

How to Enable SELinux on CentOS 7

With exploits and vulnerabilities revealed almost daily and reports of cyber-crimes increasing,...

Add Reseller Account in DirectAdmin

DirectAdmin is a commercial webhosting control panel which brings a graphical user interface like...

How long will it take for my server to be ready for use?

Our proprietary provisioning system gets your server ready in minutes, ensuring that you get...

Maximum number of connections from user+IP exceeded

If you are getting an error like ‘ Error – Maximum number of connections from user+IP exceeded...

Migrate Accounts from cPanel to DirectAdmin

cPanel is one of the most common and widely used control panels. But cPanel has recently...