ComusThumbz Documentation
Admin Login

Storage Servers

 

What This Page Does

This page lets you add and manage the places where your videos, images, and other content are stored. You can use professional CDN services like Bunny.net or Cloudflare for fast worldwide delivery, or set up your own FTP/local storage servers. The page helps you configure connections, monitor server health, and compare different storage options.

[Screenshot: page-overview]


How to Get Here

Navigate to Admin Panel > Storage > Groups > [Group Name] > Servers


Understanding the Page

When you first arrive, you'll see several sections to help you manage your storage:

CDN Provider Cards

At the top, you'll find six colorful cards showing popular CDN providers. Each card displays the provider's pricing and key features. Click any card to learn more about that provider and get setup instructions.

Action Buttons

Two main buttons help you get started:

  • Add New Server - Opens a form to configure a new storage location
  • Back to Groups - Returns you to the storage groups page

 

A prominent button takes you to an interactive calculator where you can compare costs between different CDN providers based on your expected bandwidth usage.

Servers Table

The main table shows all your configured storage servers with:

  • Server name and type
  • How much storage is being used
  • Number of files stored
  • Health status (if monitoring is enabled)
  • Current status (enabled or disabled)
  • Action buttons to edit, test, or delete each server

 


Common Tasks

How to Add a CDN Server (Bunny.net Example)

CDN servers are best for fast content delivery worldwide. Here's how to set one up:

  1. Click the Add New Server button at the top of the page.
  2. From the Server Type dropdown, select Bunny.net CDN (under CDN Providers).
  3. Fill in the required information:
  • Server Name - Give it a name like "Bunny CDN Main"
  • Storage Zone Name - Your zone name from Bunny.net
  • Storage API Key - Copy this from your Bunny.net dashboard
  • Region - Choose the region closest to your users
  • Base URL - This should be https://yourzone.b-cdn.net/
  • Max Storage - Enter your expected storage needs in GB (default is 1000)
  1. Click Save Server.

The server will be added to your list and is ready to store content.

Tip: Most CDN providers offer free trials or starter plans. Start with one CDN to test it before adding multiple servers.

[Screenshot: add-bunny-cdn-server]

How to Add an FTP Server

FTP servers let you use your own hosting or a remote server you control:

  1. Click Add New Server.
  2. Select FTP Server from the Server Type dropdown (under Other Storage).
  3. Fill in your FTP connection details:
  • Server Name - Something descriptive like "CDN Server 1"
  • FTP Host - Your server address (e.g., cdn.example.com)
  • Port - Usually 21 for standard FTP
  • Username - Your FTP username
  • Password - Your FTP password
  • Upload Path - Where videos should be stored (e.g., /public_html/videos/)
  1. Set the Base URL - This is the web address where files can be accessed (e.g., https://cdn.example.com/videos/)
  2. Configure Max Storage to match your server's disk space.
  3. Optionally enable Heartbeat Monitoring (see below).
  4. Click Save Server.
Warning: Make sure the upload path you enter exists on your FTP server and that your FTP account has permission to write to it.

[Screenshot: add-ftp-server]

How to Enable Health Monitoring

Health monitoring automatically checks your FTP or local servers to make sure they're working properly:

  1. When adding or editing an FTP or Local server, scroll down to the Heartbeat Monitoring section.
  2. Check the box next to Enable Heartbeat Monitoring.
  3. A secret key will be automatically generated - keep this as is.
  4. The Path to Monitor should match your upload path or storage path.
  5. Click Save Server.

The system will automatically deploy a monitoring script to your server. If this doesn't work automatically, you can download the script manually using the Download heartbeat.php button and upload it yourself.

Tip: Health monitoring is only available for FTP and local servers. CDN providers have their own monitoring systems.

How to Test Server Health

Once you've enabled monitoring on a server:

  1. Find the server in the table.
  2. Click the green Test button (with a heartbeat icon).
  3. Wait a moment for the test to complete.
  4. A results window will show you:
  • Overall server status
  • Total, used, and free disk space
  • Server information (hostname, PHP version)
  • Any warnings or issues

This helps you catch problems before your users experience them.

[Screenshot: test-heartbeat-results]

How to Edit a Server

To change a server's settings:

  1. Find the server in the table.
  2. Click the yellow Edit button.
  3. Make your changes in the form.
  4. Click Save Server.
Warning: If you change connection details (like FTP passwords or API keys) while files are already stored on that server, make sure the new credentials can still access those existing files.

How to Delete a Server

To remove a storage server:

  1. Find the server you want to remove.
  2. Click the red Delete button.
  3. You'll see a confirmation message:
  • If files are stored on this server, you'll be told how many
  • The system will remove the tracking records but won't delete the actual files from the remote server
  1. Click OK to confirm deletion.
Error: Deleting a server removes it from your system but does NOT delete the actual video and image files from the remote storage. You'll need to clean those up manually if you want to remove them.

Choosing the Right CDN Provider

Quick Comparison

Click any provider card to see detailed information, or click the Compare CDN Costs button to use the interactive calculator.

Provider Best For Key Feature
Bunny.net Most users - great value 114 locations worldwide, simple setup
Vultr Global reach Reliable infrastructure, good performance
DigitalOcean Developers Easy integration with DO services
Cloudflare R2 High bandwidth sites No bandwidth fees (zero egress)
KeyCDN Simplicity Straightforward pull CDN
CDN77 Adult content Explicitly allows adult content

Where to Sign Up

Click on any CDN provider card, then click Sign Up Now to create an account with that provider. Each card includes:

  • Direct signup link
  • Pricing information
  • Setup instructions
  • Important tips

 


Understanding Storage Display

The Storage Usage column shows different information depending on the server type:

  • CDN Providers - Shows "X / Y GB of Unlimited" because most CDN providers don't have storage limits
  • FTP Servers - Shows "X / Y GB allocated" based on the max storage you set
  • Local Servers - Shows "X / Y GB of Z TB" if the system can detect your actual disk size

The numbers update automatically as you upload and delete content.


Filters and Status

Server Status

Each server can be Enabled or Disabled:

  • Enabled - Server is active and available for storing new content
  • Disabled - Server is temporarily inactive; existing files remain accessible but no new files will be added

 

To change status, click Edit and change the Status dropdown.

Health Status

If health monitoring is enabled, you'll see a colored badge:

  • Healthy (Green) - Server is working normally
  • Warning (Yellow) - Server has issues but is still working
  • Critical (Red) - Server has serious problems
  • Unknown (Gray) - Monitoring is not enabled or hasn't run yet

 


Getting Started with Your First CDN

If you're new to CDN setup, here's the recommended approach:

  1. Start with Bunny.net - It offers the best value and is easiest to set up
  2. Click the Bunny.net card to view setup instructions
  3. Click Sign Up Now and create an account
  4. Follow the steps to create a storage zone
  5. Return to this page and click Add New Server
  6. Select Bunny.net CDN and enter your details
  7. Save and test your configuration

Once your first CDN is working, you can add more servers for redundancy or to serve different regions.

Tip: Many sites start with just one CDN server. You can always add more later as your traffic grows.

Tips for New Users

Tip:
  • Start Simple - Add one server first and make sure it works before adding more
  • Use Descriptive Names - Name servers by their purpose or location (e.g., "Main CDN - Americas" or "Backup FTP Server")
  • Test Before Going Live - After adding a server, upload a test video to make sure everything works
  • Enable Monitoring - If using FTP or local storage, turn on heartbeat monitoring to catch problems early
  • Keep Credentials Safe - Your API keys and passwords are stored securely, but never share them
  • Check Usage Regularly - Monitor your storage usage to avoid running out of space

Troubleshooting

Server won't connect

What you see: Error message when trying to save a new server configuration

How to fix it:

  1. Double-check all your connection details (host, username, password, API keys)
  2. Make sure you copied API keys completely without extra spaces
  3. For FTP servers, verify the port is correct (usually 21)
  4. Test your credentials using an FTP client or the provider's own dashboard first

 

Health monitoring shows "Unknown"

What you see: Gray "Unknown" badge in the health column

How to fix it:

  1. Health monitoring is only available for FTP and local servers, not CDN providers
  2. Make sure you enabled heartbeat monitoring when setting up the server
  3. Click the Test button to run a manual health check
  4. If the test fails, the monitoring script may not have been deployed - use the Download heartbeat.php button and upload it manually

 

Files aren't appearing on the site

What you see: You've set up a server but videos aren't loading

How to fix it:

  1. Make sure the server status is Enabled
  2. Check that the Base URL is correct and publicly accessible
  3. Verify files are actually being uploaded to the server (check the Files count in the table)
  4. Try uploading a test file to verify the connection works

 

Can't delete a server

What you see: Delete button doesn't work or is grayed out

How to fix it:

  1. If you're in Demo Mode, the delete button is disabled - this is normal for demonstrations
  2. For a live system, make sure you're logged in as an administrator
  3. If the server has many files, the deletion may take a moment - wait for the confirmation message

 


Page When to Use It
Storage Groups Create and manage groups of servers before adding individual servers
CDN Cost Calculator Compare pricing between different CDN providers before making a choice
Video Management After setting up storage, upload and manage your videos
Settings Configure default storage preferences and automatic upload settings

What Happens After Setup

Once you've configured your storage servers:

  1. New videos and images will be automatically distributed to your configured servers
  2. The system will track which files are stored on which servers
  3. Your public website will automatically load content from these servers
  4. Health monitoring (if enabled) will continuously check server status
  5. Storage usage will be tracked and displayed on this page

You can come back to this page anytime to:

  • Check how much storage you're using
  • Add more servers as your site grows
  • Test server health
  • Update server settings
  • Review which servers are storing your content