← All guides

Cursor domain guide

Connect your own domain to a Cursor-built app with HTTPS

CursorVPSDomain

Short answer

The Cursor-built app serving from your custom domain with valid HTTPS and a stable deploy path.

Why this matters

The app works on localhost but you cannot point your own domain to it with proper HTTPS.

Walkthrough

  1. 01

    Export and deploy the app

    Get the code out of Cursor and onto a server that you control.

    • Push the Cursor workspace to a GitHub repo.
    • Deploy the app on a VPS with your preferred runtime.
    • Confirm the app builds and runs on the server.
  2. 02

    Configure DNS and HTTPS

    Point your domain to the server and enable SSL.

    • Add an A record from your domain to the server IP.
    • Wait for DNS propagation before requesting SSL.
    • Request and install an SSL certificate on the server.
  3. 03

    Test and switch traffic

    Verify everything works on the new domain before sending users.

    • Test all auth flows, database calls, and API routes on the new domain.
    • Update any hardcoded localhost URLs in the app.
    • Monitor logs for errors during the first 24 hours.

Where RepoAssistant fits

RepoAssistant handles Cursor app to custom domain migration with HTTPS and production config.