In the last unit, you deployed your site and GitHub Pages assigned your site a default URL, or domain name.
In this unit, you’ll purchase your own custom domain name and assign it to your GitHub Pages website. At the end of the unit, you’ll be able to access your site using both your new domain name and your default GitHub Pages domain name.
Before you choose a custom domain name, it’s important to first understand what domain names actually are.
Domain names are human-friendly names that identify servers on the Internet. A global system known as the Domain Name System (DNS) is used for storing which domain names correspond to which servers.
For example, Codecademy’s domain name is
www.codecademy.com. When you type the domain name into your browser, your computer asks the DNS to identify which servers should receive the request in order to load our website.
Note: This unit is optional. We’ll walk you through the steps required to purchase a custom domain name and assign it to your GitHub Pages site. If you do not want to purchase a domain name, you won’t have to. However, feel free to follow along to see what steps are required to do so (for future reference).
Observe the diagram to the right.
In the top portion of the diagram:
Your computer communicates with websites in a simliar fashion.
In the bottom portion of the diagram:
www.codecademy.cominto his browser and the DNS then identifies the IP address associated with
For more details, read the following Codecademy resource: