Skip to main content

hostname cannot start with www.

Comments

5 comments

  • Infopro
    hostname.example.com for instance. siidsidou.example.com as another. Don't add the www.
    0
  • siidsidou
    hostname.example.com for instance. siidsidou.example.com as another. Don't add the www.

    this is my website is - Removed - can u plz give me whats i will write exactly and thanks
    0
  • Infopro
    The docs should be of some use to you: WHM API 1 Functions - sethostname - Software Development Kit - cPanel Documentation
    0
  • siidsidou
    this is my website is - Removed - can u plz give me whats i will write exactly and thanks and where i put it via vnc views or putty ? and where exactly plz
    0
  • Infopro
    Please stop linking to your website, we don't need to know what it is here. This specific doc should be helpful: The set_hostname Utility - Version 68 Documentation - cPanel Documentation To use the /usr/local/cpanel/bin/set_hostname utility, run the following command as the root user:
    /usr/local/cpanel/bin/set_hostname newhostname
    When you run this command, the set_hostname utility performs the following actions: [LIST]
  • It updates the hostname in the /etc/sysconfig/network file, and in the kernel.
  • It updates the server's Apache configuration.
  • It updates the cPanel license.
  • It updates cPHulk.
  • It restarts MySQL".
  • It rebuilds cPanel & WHM's global cache.
  • It updates the FTP, Exim, Dovecot, and cPanel SSL certificates.
    If you're having troubles with this, you might want to speak with your Hosting Provider about installing cPanel for you.
  • 0

Please sign in to leave a comment.