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)
🔧 Option 1: Cloud Run Domain Mappings (Recommended)
Step 1: Open Cloud Run Console
- Go to Cloud Run Console
- Select
sentry-docsservice - Click "Manage Custom Domains"
Step 2: Add Domain Mapping
- Click "Add Mapping"
- Select
sentry-docsservice - Enter domain:
docs.sentryanalytic.com - Click "Continue"
Step 3: Verify Domain Ownership
If not already verified:
- Add TXT record to DNS
- Wait for verification (up to 24 hours)
Step 4: Configure DNS
Add CNAME record:
| Type | Name | Value |
|---|---|---|
| CNAME | docs | ghs.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):
- Create Serverless NEG for
sentry-docs - Create HTTPS Load Balancer
- Add SSL Certificate (managed or custom)
- Configure Backend Service pointing to NEG
- Add Frontend with
docs.sentryanalytic.com - Update DNS with Load Balancer IP
🌐 Current URLs
| Service | URL |
|---|---|
| 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.