<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dns on ThetaSigma Labs</title><link>http://thetasigma.org/tags/dns/</link><description>Recent content in Dns on ThetaSigma Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 ThetaSigma Labs</copyright><lastBuildDate>Wed, 17 Jun 2026 19:19:07 -0300</lastBuildDate><atom:link href="http://thetasigma.org/tags/dns/index.xml" rel="self" type="application/rss+xml"/><item><title>Hosting a Static Site on GitHub Pages with a Custom Domain</title><link>http://thetasigma.org/lab-notes/github-pages-dns-routing/</link><pubDate>Wed, 17 Jun 2026 19:19:07 -0300</pubDate><guid>http://thetasigma.org/lab-notes/github-pages-dns-routing/</guid><description>&lt;p&gt;GitHub Pages is a free static hosting service built into every GitHub repository.
Combined with a custom domain and a handful of DNS records, you can serve a
production site with HTTPS for nothing beyond the cost of the domain name.&lt;/p&gt;
&lt;p&gt;This note covers the full path: repo setup, Pages configuration, DNS records,
and TLS enforcement.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Prerequisites
 &lt;div id="prerequisites" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#prerequisites" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;A GitHub account and a repository containing your static site output (HTML/CSS/JS)&lt;/li&gt;
&lt;li&gt;A registered domain name managed at any DNS registrar (examples use Porkbun)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;gh&lt;/code&gt; CLI installed and authenticated (&lt;code&gt;gh auth login&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;

&lt;h2 class="relative group"&gt;1. Prepare the repository
 &lt;div id="1-prepare-the-repository" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#1-prepare-the-repository" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Your repo needs to end up with built HTML at a known location. Two options:&lt;/p&gt;</description></item></channel></rss>