Step-by-Step Onboarding
This comprehensive guide covers everything needed to set up and optimize your Sundun CDN environment.
Account Setup
1. Create Your Account
Visit dashboard.Sundun.com and sign up with:
- Email address
- Password (minimum 12 characters, special characters recommended)
- Company/Organization name
- Industry type
2. Verify Your Email
Check your inbox for verification email and click the activation link within 24 hours.
3. Set Up Billing
Navigate to Settings > Billing:
- Add payment method (Credit card, Wire transfer, or ACH)
- Set billing alerts (optional but recommended)
- Configure spending limits
Creating Your First Distribution
Distribution Types
Static Content Distribution (Recommended for beginners)
- Ideal for: Websites, images, downloads, static assets
- Features: Simple configuration, automatic caching
- Cache TTL: Default 86400 seconds (24 hours)
Video Streaming Distribution
- Ideal for: HLS/DASH live streaming, VOD
- Features: Adaptive bitrate support, low-latency optimization
- Protocols: HLS, DASH, MP4, WebM
Dynamic Content Distribution
- Ideal for: API responses, personalized content
- Features: Origin authentication, custom headers
- Cache: Typically shorter TTL or no-cache
Configuration Steps
- Click New Distribution
- Select content type
- Enter origin information:
- Origin Address: your-server.example.com
- Origin Protocol: HTTP or HTTPS
- Connection: Keep-alive (recommended)
- Configure cache settings:
- Default TTL: 3600 seconds (1 hour)
- Browser Cache: 300 seconds
- Cache Key: Include query strings (configurable)
- Review and create
DNS Configuration
CNAME Setup
Once your distribution is created:
- Copy your CNAME target:
xyz123.cdn.Sundun.com
- Log in to your domain provider
- Create CNAME record:
- Type: CNAME
- Name: cdn (for cdn.yourdomain.com)
- Value: xyz123.cdn.Sundun.com
- TTL: 3600
DNS Propagation
DNS changes propagate within minutes to hours:
- Check status:
nslookup cdn.yourdomain.com
- Full propagation: Up to 48 hours
- Sundun shows status in dashboard
Testing & Verification
Health Check
After DNS propagation, verify:
curl -I https://cdn.yourdomain.com/index.html
Look for:
- HTTP 200 status
- x-Sundun-cache: HIT header (after first request)
- x-Sundun-edge: XX-XX showing edge location
- Go to Analytics > Performance
- Check:
- Cache Hit Ratio: Target >80%
- Response Time: Compare vs. origin
- Data Transferred: Confirm bandwidth savings
- Edge Locations: See top performing regions
Optimization Best Practices
Cache Optimization
- Set appropriate TTLs per content type
- Use cache headers from origin: Cache-Control, ETag
- Enable compression for text content
- Purge cache when content changes
Security Setup
- Enable DDoS Protection (default: on)
- Configure WAF Rules: SQL injection, XSS protection
- Set Rate Limiting: 1000 req/sec (default)
- Enable HTTPS: Recommended for all traffic
Monitoring
- High error rates (>1% 5xx)
- Traffic spikes
- Cache hit ratio drops
Common Issues
Distribution shows "Pending"
- Creation in progress, usually <5 minutes
- Refresh dashboard
No cache hits (Cache: MISS)
- DNS not propagated yet
- Check CNAME configuration
- Origin headers may prevent caching
Requests timing out
- Verify origin is accessible
- Check firewall/security groups
- Increase timeout setting in distribution
Next Resources
- Console Guide: Learn console features and settings
- Advanced Configuration: Origin shielding, image optimization
- Support: contact support@Sundun.com