How To Host Website On Onedrive

How To Articles

Hosting a website on OneDrive is an excellent method for sharing your personal or business projects globally. This article will lead you through the steps of hosting a website on OneDrive and offer my personal insights and recommendations throughout the process.

Step 1: Create a OneDrive Account

If you don’t already have a OneDrive account, you can sign up for free at OneDrive. Once you have created your account, you will have access to 5GB of free storage, which is perfect for hosting a small website.

Step 2: Organize Your Website Files

Before uploading your website files to OneDrive, it is important to organize them properly. Create a folder on your computer and name it something like “MyWebsite”. Inside this folder, create subfolders for different sections of your website, such as “images”, “css”, and “js”. This will make it easier to manage your files and keep everything organized.

Step 3: Upload Your Website Files to OneDrive

Now that your website files are organized, it’s time to upload them to OneDrive. Simply open your OneDrive account in a web browser and navigate to the folder where you want to host your website. Then, drag and drop your website files from your computer into the OneDrive folder. Make sure to preserve the folder structure of your website. It may take a few moments for the files to upload, depending on the size of your website.

Step 4: Share Your Website

Once your website files are uploaded to OneDrive, you can share your website with others. Right-click on the main folder of your website and select “Share”. You will have the option to choose who can access your website and whether they can edit or only view the content. OneDrive will generate a link that you can share with your friends, clients, or anyone you want to have access to your website.

Personal Tips and Commentary

I have personally used OneDrive to host a few small websites, and I must say, it’s a convenient and cost-effective solution. OneDrive’s user-friendly interface makes it easy to organize and upload your website files. Plus, the ability to share your website with others in just a few clicks is a great feature.

However, it’s important to keep in mind that OneDrive is primarily designed for file storage and sharing, not for hosting high-traffic websites. If you expect a large number of visitors to your website, you may want to consider a more robust hosting solution.


Hosting a website on OneDrive can be a simple and convenient option, especially for small personal or business projects. By following the steps outlined in this article, you can easily upload and share your website files with others. Just keep in mind the limitations of OneDrive for high-traffic websites and consider alternative hosting options if needed. Happy website hosting!