diff options
Diffstat (limited to 'build/posts/minor-website-changes/index.html')
-rw-r--r-- | build/posts/minor-website-changes/index.html | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/build/posts/minor-website-changes/index.html b/build/posts/minor-website-changes/index.html new file mode 100644 index 0000000..9c979c0 --- /dev/null +++ b/build/posts/minor-website-changes/index.html @@ -0,0 +1,73 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="color-scheme" content="dark light"> + <link rel="icon" href="data:,"> + <title>Using a New Domain and Switching Static Hosts</title> + <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" /> + <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" /> +<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style> +</head> + +<nav> + <a href="#menu">Menu ↓</a> +</nav> + +<main> +<h1 id="using-a-new-domain-and-switching-static-hosts">Using a New Domain and Switching Static Hosts</h1> +<p>2021-11-25</p> +<p>As you can most likely tell by looking at your browser’s URL - I’ve swapped over to a new domain for my personal website: <a href="https://tdarb.org">tdarb.org</a>. I’m a fickle person and this is a random change - but it is one I’ve been planning to do for some time.</p> +<p>Let me give some minor background information and then get into the changes…</p> +<h2 id="what-about-ugly-duck">What about Ugly Duck?</h2> +<p>I had originally used the <a href="https://uglyduck.ca">uglyduck.ca</a> domain for this personal blog as a <em>loosely</em> based reference to the “ugly duckling” story. This was based on the fact that I <em>mainly</em> focus on CSS and making the web more visually appealing - or beautiful, if you will - so the comparison to an ugly duckling becoming a swan made sense in my oddball mind.</p> +<p>But overtime I came to somewhat dislike[^1] it and set out to change it.</p> +<h2 id="so-what-the-heck-is-tdarb">So what the heck is “tdarb”?</h2> +<p>I explain this on my updated <a href="/about">about page</a> but I will mention it again here:</p> +<p><strong>tdarb</strong>[^2] is simply my first name and last initial spelt backwards – Brad T. Mind blowing, right?</p> +<p>I’ve switched over to this naming convention to avoid having such a random “phrase” domain name while at the same time having a little more fun than just <em>mylegalname.com</em>. I also am a sucker for <code>.org</code> TLDs (although I don’t know why).</p> +<p>I’m sure some readers will prefer it, some will be indifferent and others will hate it. Either way, it’s my personal site and I’ll do as I please!</p> +<h2 id="breaking-my-website-for-a-day-and-fixing-potential-link-rot">Breaking My Website for a Day and Fixing Potential Link Rot</h2> +<p>The transition I made yesterday from <a href="https://uglyduck.ca">uglyduck.ca</a> to <a href="https://tdarb.org">tdarb.org</a> was <em>rough</em>. I thought that I could simply launch the identical content on the new domain, test everything, and then simply set a URL redirect from the old domain through Namecheap[^3]. Oh boy, was I wrong!</p> +<p>The bulk of my evening was spent figuring out why the redirect wouldn’t propagate across all networks and why multiple forwards were occurring. In the end, I just tossed <a href="https://uglyduck.ca">uglyduck.ca</a> back up on Netlify and set global redirect rules in their handy-dandy <code>_redirects</code> file. (I will write-up a small post about this soon to help others). After a few minutes everything was working perfectly fine and best of all - no broken links or potential link rot! All thanks to the <code>:splat</code> parameter in the redirects.</p> +<p>As for my RSS feed, everything <em>should</em> forward correctly? I state that as a question since I can’t confirm this 100% and RSS feeds are not my expertise. If I broke this for any of you, I apologize. I will pray to the internet gods for your forgiveness…</p> +<h2 id="from-github-to-sourcehut">From Github to Sourcehut</h2> +<p>That’s right, I’ve switched this static site’s hosting over to <a href="https://srht.site">sourcehut pages</a> and couldn’t be happier. My reasons for switching:</p> +<ol> +<li>I’m happy to pay and support the ongoing work at sourcehut (open source alternatives to Netlify, Github, etc. is important)</li> +<li>I’ve been wanting to become more comfortable with the sourcehut ecosystem - there might be projects in the future I would like to help with on that platform and it helps if you know how to use it :P</li> +<li>Sourcehut pages are fast - I mean <em>really</em> fast</li> +</ol> +<p>It <em>was</em> slightly confusing for my ape brain to figure out the setup, but I got there eventually. I plan to do a detailed step-by-step tutorial to help those like me who may find it a little daunting. It’s well worth the minor effort.</p> +<h2 id="the-lifespan-of-uglyduck.ca">The Lifespan of uglyduck.ca</h2> +<p>I still have ownership of the old domain for almost another full year. I feel like that gives users enough time to adjust and become accustomed to the new one. My plan is to let the domain die entirely when it goes up for renewal but who knows - I might very well keep it going if the mood strikes me.</p> +<h2 id="thats-all-folks">That’s All Folks!</h2> +<p>I don’t have much else to report besides having made minor tweaks to this website design (yet again) and I have also finally added a picture of <a href="/uses">workstation on the “Things I Use” page</a>. That’s it.</p> +<h2 id="refs">Refs</h2> +<ol> +<li>not <em>hate</em> - just discontent</li> +<li>pronounced tee-darb</li> +<li>Namecheap support were very helpful - this was more of a limitation of what their redirects can do</li> +</ol> +<footer role="contentinfo"> + <h2>Menu Navigation</h2> + <ul id="menu"> + <li><a href="/">Home</a></li> + <li><a href="/projects">Projects</a></li> + <li><a href="/uses">Uses</a></li> + <li><a href="/wiki">Wiki</a></li> + <li><a href="/resume">Resume</a></li> + <li><a href="/colophon">Colophon</a></li> + <li><a href="/now">Now</a></li> + <li><a href="/donate">Donate</a></li> + <li><a href="/atom.xml">RSS</a></li> + <li><a href="#top">↑ Top of the page</a></li> + </ul> + <small> + Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br> + Maintained with ♥ for the web. <br> + Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> & <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br> + The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>. + </small> +</footer>
\ No newline at end of file |