ARYAN ICT Solutions, LLC.
  • 0 Shopping Cart
  • myHUB - DASHBOARD
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • More
  • Account
    • Login
    • Forgot Password?
  1. AryanIct.com
  2. Knowledgebase
  3. Specialized Help
  4. Technical
  5. Hostname resets after reboot CENTOS 7.8

  Categories

API
7
Client Portal
4
cPanel & WHM
129
Hosting Support
13
Miscellaneous
6
Pre-Sale Questions
23
Security & Abuse
6
Specialized Help
253
Video Tutorials
4

  Categories

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

Hostname resets after reboot CENTOS 7.8 Print

  • 0

On CentOS7, changes to your hostname with the hostname command won't persist upon reboot. Instead, use the following command:

hostnamectl set-hostname hostname.yourdomain.com

Your hostname will now remain after reboots.


Was this answer helpful?

Related Articles

Run OPTIMIZE TABLE to defragment tables for better performance For this suggestion:Run OPTIMIZE TABLE to defragment tables for better performanceRun this... How to clear Error Log of a cPanel Account. User the below code to clear Error Log:Replace User with Username:Code:for i in `find... What is php.ini ? The php.ini file and changing PHP Settings The php.ini file is a special file for PHP and... How to fix ini_set() has been disabled for security reasons 1. Create php.ini file inside your public_html folder, OR the folder in which you have... How to fix Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone: 1: Create .htaccess file inside your public_html folder, OR the folder in which you have...
« Back

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2025 ARYAN ICT Solutions, LLC.. All Rights Reserved.


Loading...
Loading...

Choose Currency

$ USD
AFN

Generate Password

Please enter a number between 8 and 64 for the password length