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

Overview

The VPS hosting configuration allows you to:
  • Define VPS hosting plans with specs and pricing
  • Showcase features and benefits
  • List available operating systems
  • Customize hero section with stats
Configuration file: config/hosting/vps.ts

Quick Start

1

Edit the config file

Open config/hosting/vps.ts and modify the configuration:
2

Update plans

Modify the VPS plans with your specifications and pricing
3

Test it

Visit: http://localhost:3000/vps

Configuration Structure

Hero Section

Plans Section

This section displays a call-to-action at the bottom of the plans for custom configurations.
Fields:
  • name - Plan name
  • vcpu - CPU cores
  • ram - Memory
  • storage - Disk space
  • bandwidth - Monthly transfer
  • price - Monthly price (number)
  • orderUrl - Link for “Get Started” button (required)
  • features - List of included features
  • popular - Set true to highlight (optional)

Features Section

Available colors: yellow, green, blue, purple, cyan, orange Icons: Browse Lucide icons at lucide.dev

Operating Systems

Note: Place OS logos in public/assets/os/

Complete Example


Best Practices

Pricing

  1. Show value progression - Each tier adds significant resources
  2. Highlight the middle tier - Use popular: true
  3. Include bandwidth - Clearly state monthly transfer limits

Features

  1. Focus on benefits - Explain what features do for users
  2. Use 6 features - Perfect grid layout
  3. Choose relevant icons - Match icons to feature meaning

Operating Systems

  1. Show popular options - Ubuntu, Debian, CentOS first
  2. Use official logos - Get from official sources
  3. Offer Windows - Many users need Windows Server

Troubleshooting

Plans not showing

Check that each plan has all required fields: name, vcpu, ram, storage, bandwidth, price, features

Images not loading

  • Background images: Use full URLs
  • OS logos: Place in public/assets/os/ and use paths like /assets/os/ubuntu.svg

Colors not working

Make sure to include as const after the color: