Skip to main content

Custom Domain Setup

Guide for connecting docs.sentryanalytic.com to the Knowledge Base on Cloud Run.

📋 Prerequisites

  • Domain ownership verified in Google Cloud
  • Access to DNS settings for sentryanalytic.com
  • Cloud Run service deployed (sentry-docs)

Step 1: Open Cloud Run Console

  1. Go to Cloud Run Console
  2. Select sentry-docs service
  3. Click "Manage Custom Domains"

Step 2: Add Domain Mapping

  1. Click "Add Mapping"
  2. Select sentry-docs service
  3. Enter domain: docs.sentryanalytic.com
  4. Click "Continue"

Step 3: Verify Domain Ownership

If not already verified:

  1. Add TXT record to DNS
  2. Wait for verification (up to 24 hours)

Step 4: Configure DNS

Add CNAME record:

TypeNameValue
CNAMEdocsghs.googlehosted.com

Step 5: Wait for SSL

  • Cloud Run auto-provisions SSL certificate
  • May take 15-30 minutes
  • Check status in Cloud Run Console

🔧 Option 2: Load Balancer (Enterprise)

For more control (custom headers, caching, WAF):

  1. Create Serverless NEG for sentry-docs
  2. Create HTTPS Load Balancer
  3. Add SSL Certificate (managed or custom)
  4. Configure Backend Service pointing to NEG
  5. Add Frontend with docs.sentryanalytic.com
  6. Update DNS with Load Balancer IP

🌐 Current URLs

ServiceURL
Cloud Run (default)https://sentry-docs-81074390564.europe-west6.run.app
Custom Domain (pending)https://docs.sentryanalytic.com

✅ Verification

After DNS propagation (1-24 hours):

curl -I https://docs.sentryanalytic.com
# Should return 200 OK with Cloud Run headers

Custom domain mapping is free with Cloud Run managed platform.