Skip to content

fix: restore up2cloud.tech custom domain (add missing CNAME file)#6

Merged
CesarNog merged 1 commit into
mainfrom
claude/up2cloud-tech-domain-down-9icFa
May 31, 2026
Merged

fix: restore up2cloud.tech custom domain (add missing CNAME file)#6
CesarNog merged 1 commit into
mainfrom
claude/up2cloud-tech-domain-down-9icFa

Conversation

@CesarNog
Copy link
Copy Markdown
Collaborator

Summary

  • Root cause: up2cloud.tech was going down on every deployment because there was no CNAME file in the repo, and the build step never included one in the uploaded artifact. GitHub Pages silently drops the custom domain when the deployed artifact lacks a CNAME file at its root.
  • Fix: Add CNAME file containing up2cloud.tech and copy it into public/ during the build step.
  • Also copies _redirects to public/ (it was listed in the repo but never included in the build artifact).
  • Updates the deployment environment URL from https://up2cloud.github.io to https://up2cloud.tech.

Test plan

  • Merge and approve the deployment in the production-approval environment
  • Confirm the public/CNAME file is present in the GitHub Pages artifact after the build job runs
  • Verify https://up2cloud.tech resolves and serves the site after deployment
  • Verify https://www.up2cloud.tech redirects to https://up2cloud.tech

https://claude.ai/code/session_01AdacpfB74AC4xNZQeej9fw


Generated by Claude Code

The custom domain up2cloud.tech was being dropped on every deployment
because GitHub Pages requires a CNAME file in the deployed artifact root
to preserve the custom domain setting. Also adds _redirects to the
copied files so Cloudflare-style redirect rules are preserved, and
updates the deployment environment URL to reflect the real domain.
@CesarNog CesarNog temporarily deployed to production-approval May 31, 2026 00:55 — with GitHub Actions Inactive
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a CNAME file containing the domain 'up2cloud.tech'. There are no review comments, and I have no additional feedback to provide.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying up2cloud-tech with  Cloudflare Pages  Cloudflare Pages

Latest commit: 106a494
Status: ✅  Deploy successful!
Preview URL: https://3dde0207.up2cloud-tech.pages.dev
Branch Preview URL: https://claude-up2cloud-tech-domain.up2cloud-tech.pages.dev

View logs

@CesarNog CesarNog merged commit 8fa0fbc into main May 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants