The nameservers you specify must resolve your GitHub Enterprise Server instance's hostname.
Warning: Do not change the hostname for GitHub Enterprise Server after initial setup. Changing the hostname will cause unexpected behavior, up to and including instance outages.
Configuring nameservers using the virtual machine console
- Using your virtualization platform tools, open the virtual machine console.
- To start your network setup, press S.
- Configure nameservers for your instance.
- To finish configuring your settings, press D.
Configuring nameservers using the administrative shell
- SSH into your GitHub Enterprise Server instance. For more information, see "Accessing the administrative shell (SSH)."
$ ssh -p 122 admin@HOSTNAME
- To edit your nameservers, enter:
$ sudo vim /etc/resolvconf/resolv.conf.d/head
- Append any
nameserver
entries, then save the file. - After verifying your changes, save the file.
- To add your new nameserver entries to your GitHub Enterprise Server instance, enter:
$ sudo service resolvconf restart