Switch from cyphai.io to cyphai-project.github.io#2
Conversation
Agent-Logs-Url: https://github.com/CyPhAi-Project/CyPhAi-Project.github.io/sessions/7c188448-d125-4aa3-ab85-6a808301a4fc Co-authored-by: MasWag <2862763+MasWag@users.noreply.github.com>
|
@copilot Is it OK to have CNAME on gh-pages branch? Where does it come from? |
Agent-Logs-Url: https://github.com/CyPhAi-Project/CyPhAi-Project.github.io/sessions/bf961ccb-9c8e-42a2-8122-fc2402b8f650 Co-authored-by: MasWag <2862763+MasWag@users.noreply.github.com>
The CNAME on Since the domain is being discontinued, keeping it is not OK — GitHub Pages would still try to serve the site at |
There was a problem hiding this comment.
Pull request overview
This PR updates the Hugo site configuration to stop using the discontinued cyphai.io custom domain and instead serve the site from the GitHub Pages default URL.
Changes:
- Updated Hugo
baseURLtohttps://cyphai-project.github.io/. - Removed the tracked
public/CNAMEfile so CI deployments no longer publish a custom domain configuration.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
hugo.toml |
Updates baseURL to the GitHub Pages URL to ensure generated absolute/canonical URLs point to the correct host. |
public/CNAME |
Removes the custom-domain CNAME so the gh-pages deployment no longer configures www.cyphai.io. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@codex Can you review this PR? |
|
@copilot Thanks. How is the DNS of www.cyphai.io configured after this update? Is it possible to redirect it to https://CyPhAI-Project.github.io? |
After this PR's changes, the GitHub Pages deployment will no longer include the CNAME file, so GitHub Pages will stop accepting traffic for Whether
Since the problem statement describes the domain as "discontinued without redirection," if DNS access is already lost or the domain is expiring, option 3 is the reality and no action is needed on the code side — this PR's changes are sufficient. |
|
@copilot Thank. I see the following. Does this mean www.cyphai.io is practically redirected to cyphai-project.github.io? |
... The DNS CNAME alias is half the picture, but not a complete redirect yet. What that output shows is that To make If the goal is strictly to drop |
Summary
The
cyphai.iodomain is being discontinued without redirection. This PR updates the Hugo configuration and removes the custom domain setup so the site is served from the GitHub Pages URL instead.Changes
baseURLinhugo.tomlfromhttps://cyphai.iotohttps://cyphai-project.github.io/public/CNAME(which had been force-committed tomasterdespitepublic/being in.gitignore) so future CI deployments no longer configurewww.cyphai.ioas a custom domain on thegh-pagesbranchThe references to
cyphai.ioincontent/updates/2024-03-03-ghpage-migration.mdare left unchanged as they are historical context describing the old site migration.