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:
export const dedicatedConfig = {
  hero: {
    title: "Bare-metal servers built to",
    highlight: "dominate",
    subtitle: "Unmatched performance and complete control",
    backgroundImage: "https://images.pexels.com/photos/4508751.jpeg",
    stats: [
      { label: "Network", value: "10Gbps" },
      { label: "Storage", value: "NVMe" },
      { label: "Support", value: "24/7" },
    ]
  },
  // ... more config
};
2

Configure server plans

Update dedicated server plans with your hardware specs and pricing
3

Test it


Configuration Structure

Hero Section

hero: {
  title: "Bare-metal servers built to",
  highlight: "dominate",             // Highlighted word
  subtitle: "Unmatched performance and complete control",
  backgroundImage: "https://images.pexels.com/photos/4508751.jpeg",
  stats: [
    { label: "Network", value: "10Gbps" },
    { label: "Storage", value: "NVMe" },
    { label: "Support", value: "24/7" },
  ]
}

Plans Section

plansSection: {
  title: "Dedicated Server Plans",
  description: "Bare-metal servers with enterprise-grade hardware.",
}

### Custom Configuration Section

```typescript
customConfig: {
  title: "Need Custom Configuration?",
  description: "Our team will build a dedicated server tailored to your exact specifications.",
  buttonText: "Contact Sales",
  buttonUrl: "/contact"
}
This section displays a call-to-action at the bottom of the plans for custom server configurations.

### Server Plans

Dedicated servers have more detailed specs than VPS:

```typescript
plans: [
  {
    name: "DS-BASIC",
    processor: "Intel Xeon E-2286G",
    cores: "6 Cores / 12 Threads @ 4.0 GHz",
    ram: "32GB DDR4 ECC",
    storage: "2x 512GB NVMe (RAID 1)",
    bandwidth: "20TB @ 1Gbps",
    price: {
      monthly: 89,
      setup: 0
    },
    orderUrl: "#",  // Link for "Configure Server" button
    features: [
      "1 IPv4 Address",
      "DDoS Protection",
      "Remote Management",
      "24/7 Support"
    ],
    popular: false
  },
  {
    name: "DS-PRO",
    processor: "AMD Ryzen 9 5950X",
    cores: "16 Cores / 32 Threads @ 3.4 GHz",
    ram: "64GB DDR4 ECC",
    storage: "2x 1TB NVMe (RAID 1)",
    bandwidth: "50TB @ 10Gbps",
    price: {
      monthly: 149,
      setup: 0
    },
    orderUrl: "#",  // Link for "Configure Server" button
    features: [
      "5 IPv4 Addresses",
      "Advanced DDoS Protection",
      "IPMI Access",
      "Priority Support"
    ],
    popular: true  // Highlighted plan
  },
]
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

featuresSection: {
  title: "Why Choose Dedicated Servers?",
  description: "Unmatched performance and control for demanding workloads",
}

features: [
  {
    icon: "Zap",
    title: "Bare-Metal Performance",
    description: "No virtualization overhead. Direct hardware access.",
    color: "yellow" as const
  },
  {
    icon: "Lock",
    title: "Full Root Access",
    description: "Complete control over your server. Install anything.",
    color: "green" as const
  },
  {
    icon: "Shield",
    title: "DDoS Protection",
    description: "Enterprise-grade DDoS mitigation up to 1Tbps",
    color: "blue" as const
  },
]
Available colors: yellow, green, blue, purple, cyan, orange

Comparison Table

Show the differences between Dedicated and VPS:
comparison: {
  title: "Dedicated Server vs VPS",
  description: "Understanding the differences to choose the right solution",
  data: [
    {
      icon: "Cpu",
      iconColor: "text-blue-400",
      feature: "CPU Performance",
      dedicated: "100% - Dedicated physical cores",
      vps: "Shared - Virtual cores with other users",
      dedicatedBetter: true
    },
    {
      icon: "MemoryStick",
      iconColor: "text-purple-400",
      feature: "RAM Allocation",
      dedicated: "Guaranteed - Physical ECC RAM",
      vps: "Burstable - Shared memory pool",
      dedicatedBetter: true
    },
    {
      icon: "ArrowUpCircle",
      iconColor: "text-emerald-400",
      feature: "Scalability",
      dedicated: "Hardware upgrade required",
      vps: "Instant resource scaling",
      dedicatedBetter: false  // VPS is better here
    },
    {
      icon: "DollarSign",
      iconColor: "text-green-500",
      feature: "Starting Price",
      dedicated: "$89/mo",
      vps: "$9.99/mo",
      dedicatedBetter: false  // VPS is cheaper
    },
  ]
}
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

export const dedicatedConfig = {
  hero: {
    title: "Bare-metal servers built to",
    highlight: "dominate",
    subtitle: "Unmatched performance and complete control",
    backgroundImage: "https://images.pexels.com/photos/4508751.jpeg",
    stats: [
      { label: "Network", value: "10Gbps" },
      { label: "Storage", value: "NVMe" },
      { label: "Support", value: "24/7" },
    ]
  },
  
  plansSection: {
    title: "Dedicated Server Plans",
    description: "Bare-metal servers with enterprise-grade hardware.",
  },
  
  plans: [
    {
      name: "DS-BASIC",
      processor: "Intel Xeon E-2286G",
      cores: "6 Cores / 12 Threads @ 4.0 GHz",
      ram: "32GB DDR4 ECC",
      storage: "2x 512GB NVMe (RAID 1)",
      bandwidth: "20TB @ 1Gbps",
      price: {
        monthly: 89,
        setup: 0
      },
      features: [
        "1 IPv4 Address",
        "DDoS Protection",
        "Remote Management",
        "24/7 Support"
      ],
      popular: false
    },
    {
      name: "DS-PRO",
      processor: "AMD Ryzen 9 5950X",
      cores: "16 Cores / 32 Threads @ 3.4 GHz",
      ram: "64GB DDR4 ECC",
      storage: "2x 1TB NVMe (RAID 1)",
      bandwidth: "50TB @ 10Gbps",
      price: {
        monthly: 149,
        setup: 0
      },
      features: [
        "5 IPv4 Addresses",
        "Advanced DDoS Protection",
        "IPMI Access",
        "Priority Support"
      ],
      popular: true
    },
  ],
  
  featuresSection: {
    title: "Why Choose Dedicated Servers?",
    description: "Unmatched performance for demanding workloads",
  },

  features: [
    {
      icon: "Zap",
      title: "Bare-Metal Performance",
      description: "No virtualization overhead",
      color: "yellow" as const
    },
    {
      icon: "Lock",
      title: "Full Root Access",
      description: "Complete server control",
      color: "green" as const
    },
  ],
  
  comparison: {
    title: "Dedicated Server vs VPS",
    description: "Choose the right hosting solution",
    data: [
      {
        icon: "Cpu",
        iconColor: "text-blue-400",
        feature: "CPU Performance",
        dedicated: "100% - Dedicated physical cores",
        vps: "Shared - Virtual cores",
        dedicatedBetter: true
      },
      {
        icon: "DollarSign",
        iconColor: "text-green-500",
        feature: "Starting Price",
        dedicated: "$89/mo",
        vps: "$9.99/mo",
        dedicatedBetter: false
      },
    ]
  }
};

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:
price: {
  monthly: 89,
  setup: 0
}
Not:
price: 89  // ✗ Wrong format

Colors not working

Include as const:
color: "yellow" as const

Comparison table not rendering

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