Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
_Version
_Version

(Home >> Networking Setup >> Change Hostname)

Table of Contents
maxLevel3
minLevel2
stylenone

Overview

The Internet uses your hostname as a label by which to identify your physical server. This interface allows you to change your server's hostname.

Multiexcerpt
MultiExcerptNameHostnameWarning


Warning
titleImportant:
  • Do not select a hostname that begins with www or a number, or a hostname that ends with a hyphen (-).
  • You must use a fully-qualified domain name (FQDN) that uniquely identifies the server (for example, hostname.example.com or hostname.example.co.uk).
  • Do not choose a hostname that a cPanel account on your server will use.
  • Do not choose a potential proxy subdomain as a hostname (for example, cpanel.example.com or whm.example.com).
  • Do not select a socially-unacceptable hostname. The hostname will appear in mail headers.
  • Only use lowercase, Latin-script letters in hostnames.


The system displays your current hostname under the Current Hostname heading.


How to change your hostname

Include Page
_SetHostnameLink
_SetHostnameLink

To change your hostname, perform the following steps:

  1. Enter the new hostname into the New Hostname text box.

    Tip
    titleRemember:
    Your new hostnamemust meet the following requirements:
    • It is a FQDN.
    • It is registered with a registrar.
    • It follows the instructions in the Instructions section.


  2. Click Change. A popup window will appear that prompts you to add an A entry.
  3. Click Add An A Entry for your hostname.
  4. Review the information about your server and, if it is correct, click Add Entry.

The system will automatically configure the new hostname and add the correct A entry.

Note titled
titleNotes:
  • When you change your hostname, the system preserves the old hostname until you reboot the server so that currently-running services can function in a consistent environment.
  • If you must change your hostname for non-cPanel configuration files or services, these services continue to function until you manually adjust them.
  • If you use External Authentication, you must update the Redirection URI settings in the configuration settings at the external authentication provider's site to reflect the new hostname.


Additional documentation

Localtab Group


Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("networking","hostname") and space = currentSpace()


Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("networking","hostname") and label = "cpanel" and space = currentSpace()


Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("networking","hostname") and label = "whm" and space = currentSpace()


Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("networking","hostname") and space = "SDK"