Skip to content

Phase 8: DNS cutover - switch API to api.nemar.org #329

Closed

Description

@neuromechanist

Parent Epic

#314

Goal

Switch the canonical API URL from api.osc.earth/nemar to api.nemar.org and set up redirects from the old URL.

Tasks

  • Create api.nemar.org DNS record in SCCN Cloudflare (CNAME or A record)
  • Update wrangler.toml routes to use api.nemar.org zone
  • Deploy worker with new routes
  • Verify API responds at api.nemar.org
  • Set up redirect/proxy on old api.osc.earth/nemar URL
    • Option A: Cloudflare redirect rule on personal account
    • Option B: Minimal worker that 301 redirects to new URL
  • Test that old URL redirects properly
  • Update API_BASE_URL var in wrangler.toml
  • Update FRONTEND_URL if needed

Depends On

Notes

  • The old URL must continue to work (redirect) for existing CLI installations
  • GitHub webhooks need updating to new URL (see Phase 10)
  • nemar.org is already on SCCN Cloudflare, so subdomain creation is straightforward

Activity

  1. neuromechanist commented on Apr 25, 2026

    @neuromechanist
    ContributorAuthor

    Phase 8 complete. api.nemar.org bound as Workers Custom Domain on the SCCN nemar-api worker; auto-managed DNS + TLS via Cloudflare. PR #351 merged as a1e1bd81. Old api.osc.earth/nemar continues to serve in MAINTENANCE_MODE=read-only as a buffer until Phase 9 (#330) ships the CLI default-URL flip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructureInfrastructure and deployment

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions