Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Learn

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).

Instructions

Observe the diagram to the right.

In the top portion of the diagram:

  1. Bob wants to call Sue, but does not have Sue's phone number memorized.
  2. Bob types "Sue" into his phone and his phone identifies the phone number associated with Sue.
  3. The phone call is then made. Sue's phone receives a request (it rings). If Sue answers, Bob and Sue are connected and can now communicate.

Your computer communicates with websites in a simliar fashion.

In the bottom portion of the diagram:

  1. Bob wants to load the Codecademy website, but does not have Codecademy's IP address memorized.
  2. Bob types www.codecademy.com into his browser and the DNS then identifies the IP address associated with www.codecademy.com.
  3. The request to load Codecademy's website is then made. If the server successfully responds, Bob can now load and communicate with Codecademy's website.

For more details, read the following Codecademy resource:

  1. HTTP Requests
Report a Bug
If you see a bug or any other issue with this page, please report it here.