how to change http url of your github account

Change HTTP URL of Your GitHub Account

By Brian King
AD

Ever found yourself wishing you could change the HTTP URL of your GitHub account? Whether you want a custom domain for your profile or to alter your username, here's a step-by-step guide to help you achieve this. Remember, changing your GitHub URL is a permanent action, so double-check your decision before proceeding.

GitHub offers two methods to change your URL: editing your profile's username and setting up a custom domain. Let's dive into each process.

Editing Your GitHub Username

Changing your username will update the URL of your GitHub profile to the new username. For instance, changing from 'oldusername' to 'newusername' will update your URL from github.com/oldusername to github.com/newusername.

AD
How To Improve Your GitHub Profile | GitHub Tips For Developers
How To Improve Your GitHub Profile | GitHub Tips For Developers
GitHub Beginner Guide: 8 Easy Steps to Start Coding in 2026
GitHub Beginner Guide: 8 Easy Steps to Start Coding in 2026
Version Control Your ML Model Deployment With Git using Modelbit | Towards Data Science
Version Control Your ML Model Deployment With Git using Modelbit | Towards Data Science

Before you change your username, ensure that the new one is available and follows GitHub's naming policy. Also, keep in mind that changing your username will update the URL in all your repositories, but it won't affect the repository names.

Changing Your GitHub Username

To change your username, follow these steps:

How the Heck Do I Use GitHub?
How the Heck Do I Use GitHub?
GitHub · Change is constant. GitHub keeps you ahead.
GitHub · Change is constant. GitHub keeps you ahead.

1. Click on your profile picture in the top-right corner of any GitHub page and select Your profile.

2. On your profile page, click on the Edit profile button.

AD

3. Enter your new username in the Username field and click Update profile.

Claiming Your GitHub Username

If someone is using your desired username, you can claim it by following these steps:

1. Click on the Improve your discovery link on your profile page.

AD

2. Click on the Request a username change button.

3. Fill out the request form with your current and desired usernames, explain your reasoning, and submit the request.

Setting Up a Custom Domain for Your GitHub Profile

If you want to use a custom domain like github.com/yourcustomdomain, follow these steps to set it up:

AD

1. Purchase and configure a domain name with your domain registrar. Make sure to point the A record to GitHub's servers.

2. Log in to your GitHub account and go to your profile page. Click the Edit profile button.

3. In the Profile tab, scroll down to the Custom domain section and enter your custom domain (e.g., yourcustomdomain.com).

4. Verify your custom domain by adding a TXT record to your DNS settings. You'll find the required value in the Custom domain section of your profile settings.

5. Wait for the domain verification to complete. This may take a few minutes to a few hours, depending on your DNS settings' propagation time.

Removing a Custom Domain

If you want to remove your custom domain, follow these steps:

1. Go to your profile settings and click on the Remove custom domain button.

2. Confirm the action, and your custom domain will be removed from your GitHub profile.

Embracing a personalized GitHub URL can boost your professional image and make it easier for others to find and connect with you. So go ahead, update your URL, and make a solid first impression on GitHub!

AD