Skip to main content
Configuration File: config/hosting/dedicated.ts

Overview

The dedicated server configuration allows you to:
  • Define bare-metal server plans with detailed specs
  • Showcase enterprise features
  • Include VPS vs Dedicated comparison table
  • Customize hero section with stats
Configuration file: config/hosting/dedicated.ts

Quick Start

1

Edit the config file

Open config/hosting/dedicated.ts and modify:
2

Configure server plans

Update dedicated server plans with your hardware specs and pricing
3

Test it


Configuration Structure

Hero Section

Plans Section

This section displays a call-to-action at the bottom of the plans for custom server configurations.
Fields:
  • name - Server plan name
  • processor - CPU model
  • cores - Core count, threads, and frequency
  • ram - Memory with type (ECC)
  • storage - Drives and RAID config
  • bandwidth - Monthly transfer + port speed
  • price.monthly - Monthly cost
  • price.setup - Setup fee (0 for free)
  • orderUrl - Link for “Configure Server” button (required)
  • features - Included features
  • popular - Highlight with badge (optional)

Features Section

Available colors: yellow, green, blue, purple, cyan, orange

Comparison Table

Show the differences between Dedicated and VPS:
Fields:
  • icon - Lucide icon name
  • iconColor - Tailwind text color class
  • feature - What’s being compared
  • dedicated - Dedicated server value
  • vps - VPS value
  • dedicatedBetter - true if dedicated wins, false if VPS wins

Complete Example


Best Practices

Server Specs

  1. Be specific - Include exact CPU models
  2. Show RAID configs - Important for reliability
  3. Include port speed - Not just bandwidth total
  4. Mention ECC RAM - Shows enterprise quality

Pricing

  1. Clear pricing - Show monthly + setup fee
  2. No hidden costs - Include all basics
  3. Justify cost - High specs = higher price

Comparison Table

  1. Be honest - Show where VPS wins too
  2. Use icons - Visual comparison is clearer
  3. Explain differences - Help users decide

Features

  1. Emphasize performance - Main selling point
  2. Show control - Full hardware access
  3. Mention support - Critical for dedicated

Troubleshooting

Plans not showing

Check all required fields: name, processor, cores, ram, storage, bandwidth, price (with monthly and setup), features

Price format error

Price must be an object:
Not:

Colors not working

Include as const:

Comparison table not rendering

Check that dedicatedBetter is a boolean (true/false), not a string.