Before setting up or modifying your custom domain with your DNS provider, you should add or remove the custom domain on GitHub.
- On GitHub, navigate to your GitHub Pages site's repository.
Under your repository name, click Settings.
Under "Custom domain," add or remove your custom domain and click Save. To check if your custom domain is supported, see "About supported custom domains."
- If you're adding a custom domain for your GitHub Pages site, set up your custom domain with your DNS provider. For an overview of the next steps, see "Quick start: Setting up a custom domain."
- If you're removing a custom domain for your GitHub Pages site, update your DNS settings. For more information, see "Using a custom domain with GitHub Pages."