how to set up custom domain github

How to Set Up Custom Domain on GitHub

By Joshua Harris
AD

Transforming your GitHub profiles with a custom domain provides a more professional touch, enhancing your online presence. Follow our comprehensive guide below to navigate you through 'how to set up custom domain on GitHub' in a breeze.

Exploring the benefits of personalized entities in the digital realm motivates many users to customize their web identities. A custom domain on GitHub boosts your credibility, aligns better with your website or personal brand, and significativa advantage in a competitive professional landscape.

Configuring GitHub User Settings

Begin by updating your GitHub user settings to accommodate your custom domain. This stage involves modifying your user profile.

AD
How to: Free Website Hosting + Custom Domain with Github Pages
How to: Free Website Hosting + Custom Domain with Github Pages
Set Up a Custom Domain for Your GitHub Pages
Set Up a Custom Domain for Your GitHub Pages
How To add a Custom Domain On Github Pages
How To add a Custom Domain On Github Pages

First, sign into your GitHub account. From the Dashboard, hover over your profile image and click on 'Settings'. From the left-hand menu, tap on 'Personal domain name' under the 'Profile' section.

Adding a Primary Custom Domain

Create the primary custom domain by adding a TXT record in your domain registrar DNS settings. Ensure to replace "yourusername" with your GitHub username and "users.github.com" with your primary customized domain.

Set Up a Custom Domain for Your GitHub Pages
Set Up a Custom Domain for Your GitHub Pages
Modern GitHub Profile UI
Modern GitHub Profile UI

For instance, adding a TXT record verifies the ownership of your custom domain, like: "yourusername.users.github.com". This facilitates GitHub to locate your account.

Adding Alternate Custom Domains

Incorporate secondary or alternate custom domains for più personalized web addresses. Click on 'Add another custom domain' and follow the prompts.

AD

Other custom domains behavior as primary ones. Similar to the primary domain, they too require verification via a TXT record in your DNS settings.

Setting Up Alias with Domain Registrar

Next, establish a CNAME record with your domain registrar. This action directs traffic from your custom domain to your GitHub user profile.

After adding the custom domain and TXT record, follow your domain registrar's instruction to create a CNAME record with the following values:

AD

Type: CNAME
Name: @ or a domain name, e.g., "www"
Value/Target: users.github.com

Selecting or Changing the Default Domain on GitHub

Once the custom domain is verified, you can select it as your display domain on GitHub. This process enhances a customized look across all your GitHub activities.

Return to the 'Personal domain name' settings, click on 'Set your primary domain' and select your custom domain. This change impacts all your GitHub pages and profile URLs.

AD

Your custom domain on GitHub upgraded your user profiles' stakes, exhibiting your personal brands or websites’ professionalism. Keep polishing your online persona and improve your professional visibility!

AD