What a CDN does for a dedicated server
A content delivery network keeps copies of your files on servers in many cities. A visitor in Chennai gets images from a nearby edge location instead of from your origin; your server only sends each file to the CDN occasionally. Cloudflare's explainer on what a CDN is covers the basics.
- Speed: shorter distances for static files, especially for visitors far from your data center.
- Load: fewer requests and less bandwidth on your server.
- Resilience: cached content can stay available during short origin problems.
- Protection: the CDN absorbs much Layer 7 abuse and hides your origin IP.

CDN with a dedicated server: step-by-step setup
- Prepare the origin: make sure your site works over HTTPS with a valid certificate on the dedicated server.
- Add your domain to the CDN and choose how traffic is routed: change nameservers to the CDN, or point a CNAME (for example www) to a CDN hostname.
- Set the origin address to your server's IP or a dedicated origin hostname such as origin.example.in.
- Choose full, strict HTTPS between CDN and origin so traffic is encrypted end to end and the certificate is verified.
- Create cache rules for static assets and, if appropriate, anonymous HTML.
- Add bypass rules for cart, checkout, account, admin and API paths.
- Restrict the origin firewall to the CDN's published IP ranges for ports 80 and 443.
- Configure real client IPs on the origin so logs and rate limits see visitors, not the CDN.
- Test thoroughly, then monitor cache hit ratio and errors.
SSL modes explained
| Mode | Visitor → CDN | CDN → origin | Recommendation |
|---|---|---|---|
| Flexible / no origin TLS | Encrypted | Plain HTTP | Avoid; data travels unencrypted to your server and redirect loops are common |
| Full (no verification) | Encrypted | Encrypted, certificate not checked | Better, but not ideal |
| Full strict | Encrypted | Encrypted and verified | Use this, with a public or CDN-issued origin certificate |
Cache rules that work
| Content | Cache? | Suggested lifetime |
|---|---|---|
| Images, fonts, CSS, JS with versioned filenames | Yes | Long (weeks to a year) |
| Product and blog pages for anonymous visitors | Optional | Short (minutes), purge on update |
| Cart, checkout, account, admin | Never | Bypass |
| APIs | Usually no | Only specific public GET endpoints |
| Video segments (HLS/DASH) | Yes | Long; segments do not change |
Use cookies and headers to decide: if a session or cart cookie is present, bypass the HTML cache. Send correct Cache-Control headers from your origin so the CDN and browsers agree.
Protect and hide the origin
A CDN only protects you if attackers cannot go around it. After setup:
- Allow ports 80 and 443 only from the CDN's IP ranges.
- Remove or change DNS records that point directly to the server (old A records for mail, FTP or test subdomains).
- Send email through a separate IP or provider so mail headers do not reveal the web server.
- Consider a new origin IP if the old one was public for a long time.
Combined with your provider's network filtering, this is a strong defence; see protecting a dedicated server from DDoS. The reverse proxy on the origin is where you set headers and real-IP handling; see setting up a reverse proxy.
Purging and deployments
When you deploy new CSS or JavaScript, use versioned filenames (for example app.3f2a1.css) so you never need to purge them. For HTML and images that change in place, purge the specific URLs after updates, or use a plugin or deployment hook that purges automatically. Avoid purging everything during peak traffic, which sends a sudden wave of requests to your origin. If you must clear everything, do it at a quiet hour and watch origin CPU and response times for the next few minutes.
How a CDN changes bandwidth and costs
With a high cache hit ratio, most image and script traffic never reaches your server, which keeps your 1 Gbps port free for dynamic requests and reduces total data transfer. For media-heavy sites the effect is dramatic. Our guide on bandwidth vs data transfer explains why this matters for capacity planning.
Choosing a CDN for an Indian audience
CDNs differ in where their edge locations are, how they price traffic and what security features they include. For visitors mainly in India, check that the CDN has edge locations in several Indian cities, not only in Singapore or Europe, and test response times from your customers' networks. Compare whether pricing is a flat plan or per gigabyte, whether image optimisation, a web application firewall and bot protection are included, and how cache purging and rules are configured. Start with one domain, measure cache hit ratio and speed for a couple of weeks, and only then move more sites over.
Testing your CDN setup
- Check response headers for cache status (HIT or MISS) on assets and pages.
- Log in and confirm you never see another user's cart or account.
- Run a test checkout end to end.
- Try reaching the origin IP directly; it should refuse web traffic.
- Measure page speed from several Indian cities and mobile connections.
Page speed tuning on the origin itself is covered in optimising page speed on a dedicated server.
A hypothetical rollout
A furniture brand's site serves large product photos directly from its dedicated server. During a sale, the port fills and pages slow down. The team puts the domain behind a CDN, caches images and assets for a year with versioned filenames, caches anonymous category pages for five minutes, bypasses cart and account cookies, and restricts the origin firewall to CDN ranges. At the next sale, most bandwidth is served from the edge, the server's CPU and port stay calm, and checkout remains fast.
CDN mistakes to avoid
- Caching pages for logged-in users or carts, showing one customer another's data.
- Using flexible SSL, causing redirect loops and unencrypted origin traffic.
- Leaving the origin open to the internet after adding the CDN.
- Purging the whole cache at the busiest time of day.
- Forgetting to restore real visitor IPs, breaking logs and rate limits.
- No versioned filenames, so visitors see old CSS after a deploy.
Why businesses choose SkyRain Cloud dedicated servers
A CDN works best with a fast, reliable origin. SkyRain Cloud Intel Xeon dedicated servers provide:
- Indian data centers, Indian latency. Intel Xeon dedicated servers are hosted in Mumbai and Delhi, close to customers across India.
- The whole machine is yours. 100% unshared hardware: no other tenants competing for CPU, memory or disk.
- DDoS protection included on the network, so a flood aimed at your IP does not have to become your problem alone.
- Full control. Root or Administrator access plus iLO/IPMI out-of-band management to reboot, reinstall or mount your own ISO.
- Real support channels. 24/7 support tickets, WhatsApp and a Discord community, plus a public status page.
- Simple billing. Monthly billing in rupees with UPI, net banking and cards.
Frequently Asked Questions
Do I need a CDN if I have a dedicated server?
Which SSL mode should I use between the CDN and my server?
Can a CDN cache WooCommerce or other store pages?
How do I stop people bypassing the CDN?
Will a CDN reduce my server's bandwidth use?
Can I use a CDN with a SkyRain Cloud dedicated server?
Conclusion
A CDN with a dedicated server combines a powerful origin with a global edge: faster pages, less load and a hidden, protected server. Set full strict HTTPS, cache static files aggressively, bypass anything personal, firewall the origin and test carefully.
Compare the plans below, or order your origin server on our Intel Xeon dedicated server store page.
SkyRain Cloud Dedicated Server Plans
Unshared Intel Xeon bare-metal servers in Mumbai and Delhi data centers with 1 Gbps connectivity. Every plan includes iLO / IPMI out-of-band management, DDoS protection, Full root / Administrator access, Additional IPv4 addresses available and Billed monthly.
| Plan | Cores / Threads | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| Business 2× Intel Xeon E5-2699 v4 (Mumbai / Delhi) | 44 / 88 (2.2 GHz base, 3.6 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹17,999/month | Business websites, stores, databases, ERP and many client sites | Order |
| Enterprise 2× Intel Xeon Platinum 8269CY (Mumbai / Delhi) | 52 / 104 (2.5 GHz base, 3.8 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹19,999/month | Virtualization hosts, large databases, SaaS and container platforms | Order |
| Custom | More RAM or storage, a second server for failover, or several servers for a cluster: quoted by the team. | Clusters, failover pairs, unusual specs | Ask | ||||
Prices are monthly in INR as listed on the SkyRain Cloud store (verified 2026-11-23). Live stock and final price are shown at checkout.