Managing Multiple Websites

Terminology

Word Definition Synonyms
Domain The URL of a given Site URL
Page An individual “screen” of a Site Webpage
Site A collection of Pages and associated with a Domain Website
Static Assets HTML, CSS, JS files that comprise the web page  

Problem

Deploying static assets to 10+ Sites.

Context

  • Domain names all registered with [[Cloudflare]]
  • Static assets for all domains generated from a single Jekyll project
    • All differences between Sites have been extracted to metadata files

Options

  1. Separate repo / project for each domain
    • Pros
      • Clean separation between each Site
    • Cons
      • Significant overhead in creating repo & [[Firebase]] project for each Site
      • Minimal ROI given differences between Sites are contained in metadata files
  2. Separate git branch for each domain / site
    • Pros
      • Uses existing architecture of template project
    • Cons
      • Need a bespoke build pipeline to handle deployments to Cloudflare

Recommendation

Proceed with option 2

2024

Back to top ↑

2022

First Ever Post!

less than 1 minute read

This is my first ever post! It’s mainly here for demonstration purposes… But also as a way for me to say hi :)

Back to top ↑