Launching a website for an open-source project requires connecting your domain name to the server hosting your content. This process relies on specific DNS records, primarily A records and CNAME records. Understanding when and how to use each type ensures your site is accessible via both the root domain and subdomains like www. This article outlines the technical definitions and configuration steps needed to set up these records correctly before going live.

Preparing Domain Settings for Project Launch

This is an imagined preparation scene: a maintainer of a small open-source documentation project is drafting the DNS settings page for the project’s launch checklist, using only placeholder material written for this exercise.

On the desk is a two-column worksheet. The left column lists records to create; the right column holds a short “why” note. Three entries are drafted for the apex and one subdomain: an A record pairing the apex name with the IPv4 address supplied by the static-site host; a second A record for a backup address the host lists separately; and a CNAME record mapping the subdomain docs to the host’s assigned target name. Each line includes a TTL value the author selected as a provisional default, plus a status box marked “pending”.

The author also drafts two example records to show readers how the sheet is filled in, clearly labelled as invented for illustration. The first reads: type A, name left blank to mean the apex, value an address written as 203.0.113.24, TTL 3600, note “primary host address — confirm before launch”. The second reads: type CNAME, name docs, value a target name written as example-project.example-hosting.net, TTL 3600, note “subdomain only; never place a CNAME at the apex”. The second note is the author’s own recording convention, not a rule taken from an external guide.

For section titles, the draft offers three candidates: “Apex Address Records”, “Subdomain and CNAME”, and “Pending Checks Before Launch”. The author chooses the third as the page heading because the first two read as reference entries rather than as a checklist a reader can work through on launch day.

One trade-off is written out explicitly. The author considers combining the apex and subdomain instructions in a single table, then separates them, reasoning that a reader editing one record type should not have to scan rows for the other. The worksheet keeps the records in two blocks with a blank line between, and the author notes that the final decision belongs to whoever owns the hosting account. No record in this scene has been submitted anywhere; the sheet is a draft awaiting the maintainer’s own confirmation of each value.

Defining A Records for Direct IP Mapping

An A record maps a host name to an IP address, as described in the Microsoft Windows 2000 DNS console guidance. Where a computer has multiple adapter cards or IP addresses, or both, the source says it should have multiple address records.1

To create the entry there, you expand the Forward Lookup Zones folder for the server, right-click the domain to update, and choose New Host. In the dialog, you type the single-part computer name and the IP address. Selecting Create Associated Pointer Record also creates a PTR record, which the source notes requires an available reverse lookup zone.1

After that, you click Add Host and repeat as needed to add other hosts, then click Done.1

For your own launch notes, the concrete material to work on is the row in your checklist that pairs a host name with an IPv4 address—that is the row to rewrite before anyone fills it in. Take the two placeholder records already drafted and turn each into a short entry a reader can act on. One entry might read: subtype A, host “docs”, address “192.0.2.10”, purpose “points the documentation host to the project's server”. Save the second for the apex host, and decide for yourself whether the apex and the subdomain belong in one table or two.

Then write a one-line rule beneath each entry explaining why that address was chosen, without asserting that it will work. You might consider a wording such as “the maintainer selects an address from the server's own records and pastes it here”, which keeps the step descriptive rather than procedural. If a record is later retired, keep the row and add a “status: superseded” note beside the old address instead of deleting it, so the launch page still shows the change.

You can also compare two candidate headings for this part—“A Records for the Server Address” and “Mapping a Host to an Address”—and keep the one that better matches the vocabulary used in your table. Choose the alternative that reads cleaner to you; the choice is yours, and either keeps the section focused on what a reader should record.

Using CNAME Records for Host Aliases

In the DNS console, expand the Forward Lookup Zones folder for the server being configured, right-click the domain to update, and choose New Alias from the pop-up menu. In the resulting dialog box, type a single-part host name such as www or ftp into the Alias Name field, then enter the full host name of the target computer in the Fully Qualified Name For Target Host field. Click OK to create the record.1

A CNAME record sets an alias for a host name, so that one host computer can appear as multiple host computers; the cited example makes gamma.microsoft.com appear as www.microsoft.com and ftp.microsoft.com.1

For your launch checklist, take the row that pairs a host name with a CNAME target and rewrite it as a choice you can explain. A practical draft might read: type CNAME, host docs, value pages.example.net, note “alias for the documentation host; the name on the left follows whatever address the target resolves to.” You can decide whether that note belongs in the checklist itself or in a separate line beneath the table, depending on how much explanation your readers need.

If you keep both current and archived announcements, you can reuse the same fields with different values. A current entry might say type CNAME, host docs, value pages.example.net, status “prepared for launch.” An archived entry might say type CNAME, host docs, value legacy.example.net, status “superseded; retained for reference.” Consider adding a short reason line to each so a later reader can tell why the target changed without guessing.

You might also compare two candidate column labels before settling: “Alias Target” and “Points To.” Either can work; choose the one that makes clear the right-hand value is a host name rather than an address. Keep the label consistent across current and archived rows so the two sets remain comparable at a glance.

Configuring Root Domains with A or AAAA

For a GitHub Pages site, the source says an apex domain such as example.com requires configuring the custom domain in the repository settings and creating at least one ALIAS, ANAME, or A record with the DNS provider. For A records, it lists these IPv4 addresses to point the apex domain to: 185.199.108.153, 185.199.109.153, 185.199.110.153, and 185.199.111.153. For AAAA records, it lists 2606:50c0:8000::153, 2606:50c0:8001::153, 2606:50c0:8002::153, and 2606:50c0:8003::153. The source recommends AAAA records alongside A records for IPv6 support, citing slow global IPv6 adoption, and says that if the DNS provider sets a default record automatically, it should be deleted first.2

For the root-domain row in your launch checklist, you can treat the address choice as a question you answer in writing before you touch any settings. A workable pattern is to draft the row as “type, host, value, reason,” then fill it with placeholder values while you decide: type A, host @ (the apex), value the IPv4 address of the server you plan to use, reason “this is the address I intend the apex to reach.” Add a sibling row for an AAAA record only if you have an IPv6 address you actually plan to publish; otherwise you might leave that row blank and note why.

You can also write a short comparison for yourself between “A record pointing the apex at one address” and “apex followed by a subdomain alias,” listing one advantage and one drawback for each in plain words. This keeps the choice visible in your notes rather than buried in a settings screen.

When you revise the checklist later, consider whether the root-domain entry still states its reason in a sentence a teammate could read without asking you. If the address changes, the row and its reason should change together, so the note stays honest about what the record is meant to do.

Setting Up Subdomain Redirections

GitHub Pages documents a CNAME record for a subdomain such as www.example.com or blog.example.com: the record name is the subdomain and the value points to the site's default domain, written as the user or organization name followed by github.io, without the repository name. The custom domain must first be added in the repository settings. For an apex domain, GitHub recommends also setting up the www subdomain.2

GitHub Pages then creates redirections automatically between configured domains: if www.example.com is the custom domain and records exist for both the apex and www domains, example.com redirects to www.example.com; if example.com is the custom domain, the reverse applies. The same automatic redirection applies to other subdomains, and domains beginning with www.www. cannot be configured. GitHub strongly recommends against wildcard DNS records because of domain takeover risk.2

For the subdomain-redirection row in your launch checklist, you can add a short plain-language draft sentence for each alias you plan to use, then decide later whether the wording is ready to share. An example draft might read: type CNAME, host docs, value the chosen target host, redirected from the project’s bare name. Underneath it, you can write one line stating why that host was chosen, phrased as a plan rather than a result.

You might also compare two candidate labels for the target column, “Alias Target” and “Points To,” and keep whichever one makes the intended destination clearest to a reader who has not seen the sheet before. Whichever you choose, consider noting the alternative in a scratch comment so you can revisit it.

If you are preparing entries for both current and archived announcements, the same field set can carry different values. A current entry might say type CNAME, host docs, value the current target, status planned; an archived entry might say type CNAME, host docs, value the retired target, status retired. Filling both now is a proposal, not a test, and either row can be revised before you rely on it.

Verifying Record Propagation Status

A useful next step is to open your own launch checklist and add a “verification note” beside each A and CNAME row you have already drafted. For the row pairing a host name with an IPv4 address, you can write what you would inspect first and what you would treat as still uncertain, without claiming any result. A sample entry, clearly invented: type A, host status, value 192.0.2.10, verification note “check the address I entered against my own notes, then ask a teammate to read it back.” Keep the note as something you plan to do rather than something you have done.

You might also give each row a small set of questions you can answer later. For one A row, the questions could read: does the host name match the page I am describing; is the address the one I copied; have I recorded where I copied it from; and is anything about this row still unresolved in my notes. For a CNAME row, you could substitute the alias target for the address and ask whether the target name is spelled the way my source note shows it. These are questions you record for yourself, not requirements anyone else must follow.

If you keep both current and archived announcement entries, you can reuse the same verification fields with different values. A current entry might say type A, host status, value 192.0.2.10, verification note “to recheck before launch,” while an archived entry might say type A, host status, value 192.0.2.11, verification note “kept for reference only, no action planned.” Writing the status word explicitly helps you avoid later mistaking a placeholder for a confirmed choice.

You can also compare two candidate labels for the note column, “What I Will Check” and “Open Questions,” and keep whichever one makes it clearer to you that the cell holds a planned action rather than a finding. Either label is a reasonable choice for your own notes.

Frequently asked questions

If I want to organize my own launch notes, which checklist row should I rewrite before anyone fills it in?

For your own launch notes, the concrete material to work on is the row in your checklist that pairs a host name with an IPv4 address—that is the row to rewrite before anyone fills it in. Take the two placeholder records already drafted and turn each into a short entry a reader can act on.

How can I record the reason for choosing an address beneath each entry in my launch notes?

Then write a one-line rule beneath each entry explaining why that address was chosen, without asserting that it will work. You might consider a wording such as “the maintainer selects an address from the server's own records and pastes it here”, which keeps the step descriptive rather than procedural.

What should I add beside each A and CNAME row I have already drafted in my own launch checklist?

A useful next step is to open your own launch checklist and add a “verification note” beside each A and CNAME row you have already drafted. For the row pairing a host name with an IPv4 address, you can write what you would inspect first and what you would treat as still uncertain, without claiming any result.