We recommend setting a hostname for your appliance instead of using a hard-coded IP address.

If you configure a hostname instead of a hard-coded IP address, you will be able to change the physical hardware that your GitHub Enterprise instance runs on without affecting users or client software.

You cannot change the hostname for your GitHub Enterprise instance after you configure it during initial setup. To ensure that browsers will properly resolve your hostname, it should include a period (.) and be made up of only lowercase letters. For more information, see Section 4.3.2 of the HTTP RFC.

  1. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  2. In the left sidebar, click Management Console. Management Console tab in the left sidebar

  3. In the left sidebar, click Hostname. Hostname tab in the settings sidebar

  4. Type the hostname you'd like to set for your GitHub Enterprise instance. Field for setting a hostname

  5. To test the DNS and SSL settings for the new hostname, click Test domain settings. Test domain settings button
  6. If you don't receive a green checkmark next to all entries, review your configuration for the setting that failed. For more information, see "Configuring DNS nameservers." Table showing status of DNS and SSL configurations

  7. Under the left sidebar, click Save settings. Save settings button

After you configure a hostname, we recommend that you enable subdomain isolation for your GitHub Enterprise instance. For more information, see "Enabling subdomain isolation."