How To Create Your Own File Hosting Website

 You can create your own personal file hosting website like Google Drive & DropBox !



File Hosting Website Using PHP

We are going to use PHP to build our own file hosting site. You can upload files ( Documents/Media/Archives) & can share link so that users can download that file. For this purpose, we are going to use Projectsend , which is an open source script.

Projectsend

Projectsend is a free and open source self hosted script that lets you upload and share files. Users can create an account (Admin can disable account registration) and upload files.

ProjectSend Demo

Login Details :

Username: admin
Password: admin

Features Of ProjectSend

  • Personal File Hosting
  • Can Upload Any File Type
  • Can Create Clients (Users) And Assign File To Them
  • Can Share Files With Public
  • Statics Available For All Recent Activities ( Login , File Upload & Download , User Registration ) In Administrator Panel

Requirements For Projectsend

  • Web Hosting With PHP & MySQL Enabled
  • Server Space ( For Hosting Files )

How To Install Projectsend

Download ProjectSend's required Installation Script And Extract It In Your Web Hosting Using FTP Or File Manager. Download ProjectSend ↗

Navigate To The URL Where You Have Extracted Files. In My Case , I Extracted The Files In https://file.narendra.xyz . It Will Automatically Navigate You To Installation File,That Is Domain/install/make-config.php




Now Enter Required Informations , i.e Host , DB Name, Username & Password. For This , You Need To Create A New Database From Cpanel Or phpMyAdmin. Then Click On Check Button. Projectsend Will Check These Info & Installation Will Proceed Only If All Information Are Correct. After That Click On Write Config File


Installation Page Will Be Opened. Enter Site Name And Administrator Details And Click On Install. Done. Your Own File Hosting Is Ready.Login With Entered Detail To Upload , Manage & Share File.






Setup File Extensions In ProjectSend

To Set Custom File Extensions Which Are Not Available In Projectsend By Default, Goto Option > Security And Add Your Desired File Extensions ( For Multiple Extensions , Separate Extensions Using Comma )



Custom Extensions

In This Way , We Have Successfully Made Own File Hosting..