How to Host a File

This is a super quick and easy way to host a file on your server. In this example we will be using CentOS 6 32bit as our VPS operating system.

What you need:

1. A link to the file you want to host. Example:

The web server should be already running. To find out, just visit "http://yourserverip". You should see the default webpage.


1. SSH into your server.

2. Get the file onto your server.

# wget

3. Move the file to your web server folder.

# mv /var/www/html/


Your new download link will be: http://yourserverip/

Because the web server is already running on your server when the operating system was initially installed, hosting a file on your server is as easy as getting the file, and moving it to the right place.



Was this answer helpful?

 Print this Article

Also Read

WordPess OS Template

When using the "reinstall" option on your VPS in the Server Management Control Panel, you will...

How to Install VNC

This guide will walk you thru the steps to install VNC on Ubuntu. Note: VNC can use a lot of...

How do I use NAT/Masquerading?

Use the following command: iptables -t nat -A POSTROUTING -j SNAT --to-source YOURVPSIP

How to Install cPanel/WHM

  cPanel/WHM is a control panel that allows you to manage Web, Mail, DNS, and Database...