- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
4.1 KiB
Cloudflare Explorer URL Configuration - Complete Guide
Date: January 27, 2025
Domain: explorer.d-bis.org
Target: http://192.168.11.140:80
🎯 Quick Configuration
Step 1: Configure DNS Record (Cloudflare Dashboard)
-
Go to: https://dash.cloudflare.com/
-
Select domain:
d-bis.org -
Navigate to: DNS → Records
-
Click: Add record (or edit existing)
-
Configure:
Type: CNAME Name: explorer Target: <tunnel-id>.cfargotunnel.com Proxy status: 🟠 Proxied (orange cloud) - REQUIRED TTL: Auto -
Click: Save
⚠️ CRITICAL: Proxy status must be 🟠 Proxied (orange cloud) for the tunnel to work!
Step 2: Configure Tunnel Route (Cloudflare Zero Trust)
-
Navigate to: Zero Trust → Networks → Tunnels
-
Find your tunnel (look for tunnel ID or name)
-
Click: Configure button
-
Click: Public Hostnames tab
-
Click: Add a public hostname
-
Configure:
Subdomain: explorer Domain: d-bis.org Service: http://192.168.11.140:80 Type: HTTP -
Click: Save hostname
🔍 Finding Your Tunnel ID
Method 1: From Container
# SSH to Proxmox host
ssh root@192.168.11.10
# Enter container
pct exec 5000 -- bash
# Check config file
cat /etc/cloudflared/config.yml | grep tunnel
# Or list tunnels
cloudflared tunnel list
Method 2: From Cloudflare Dashboard
- Go to: https://one.dash.cloudflare.com/
- Navigate to: Zero Trust → Networks → Tunnels
- Your tunnel ID will be displayed in the tunnel list
✅ Verification
Wait for DNS Propagation (1-5 minutes)
Then test:
# Test DNS resolution
dig explorer.d-bis.org
nslookup explorer.d-bis.org
# Should resolve to Cloudflare IPs (if proxied)
# Test HTTPS endpoint
curl -I https://explorer.d-bis.org
curl https://explorer.d-bis.org/api/v2/stats
# Should return Blockscout API response (not 404)
📋 Configuration Checklist
- DNS CNAME record created:
explorer→<tunnel-id>.cfargotunnel.com - DNS record is 🟠 Proxied (orange cloud)
- Tunnel route configured:
explorer.d-bis.org→http://192.168.11.140:80 - Cloudflared service running in container
- DNS propagated (wait 1-5 minutes)
- Public URL accessible:
https://explorer.d-bis.org
🔧 Troubleshooting
Issue: Public URL returns 404
Possible Causes:
- DNS record not created
- DNS record not proxied (gray cloud instead of orange)
- Tunnel route not configured
- Cloudflared service not running
Solutions:
- Verify DNS record exists and is proxied
- Check tunnel route in Zero Trust dashboard
- Restart Cloudflared:
systemctl restart cloudflared(inside container)
Issue: Public URL returns 502
Possible Causes:
- Tunnel route points to wrong IP/port
- Nginx not running in container
- Blockscout not running
Solutions:
- Verify tunnel route:
http://192.168.11.140:80 - Check Nginx:
systemctl status nginx(inside container) - Check Blockscout:
systemctl status blockscout(inside container)
Issue: DNS not resolving
Possible Causes:
- DNS record not saved
- DNS propagation delay
- Wrong tunnel ID
Solutions:
- Verify DNS record in Cloudflare dashboard
- Wait 5-10 minutes for propagation
- Verify tunnel ID matches DNS target
📝 Configuration Summary
| Setting | Value |
|---|---|
| Domain | explorer.d-bis.org |
| DNS Type | CNAME |
| DNS Target | <tunnel-id>.cfargotunnel.com |
| Proxy Status | 🟠 Proxied (required) |
| Tunnel Service | http://192.168.11.140:80 |
| Tunnel Type | HTTP |
| Container IP | 192.168.11.140 |
| Container Port | 80 (Nginx) |
🚀 Quick Setup Script
If you have Cloudflare API credentials, you can use:
cd /home/intlc/projects/proxmox
./scripts/configure-cloudflare-explorer-complete.sh
Or configure manually using the steps above.
Status: Ready for configuration
Next Step: Follow Step 1 and Step 2 above in Cloudflare dashboards