Giving users their private space for their own web pages

Hello Community members,

I am building a website for an educational institute using October CMS.
The theme and all the pages are ready, final deployment is stuck due to one requirement of theirs.

They want give access to a space where faculty can upload their own HTML pages as their own website. The space where they upload the HTML pages will be accessible via a public URL. For example, the institute website is www.xxuni.edu then some faculty’s personal page will be like www.xxuni.edu/public/faculty/faculty_name/.

I looked up and got a couple of approaches. However, I would like to advise from the community about the bet practice in achieving this.

Hi @BabaBhootnath,

This should be helpful: Multisite - October CMS - 4.x

if you are on V3: Multisite - October CMS - 3.x

Hey apinard,

Thanks for the quick input.
I think Multisite is not able to achieve the objective here.

The objective is as follows.

  1. 50-100 users get their own login.
  2. After they login they get access to some space to upload HTML files.
  3. The HTML files they upload will be completely customized on their own.
  4. The space where the users upload their own files gets public visibility.

I couldn’t find this requirements being fulfilled in Multisite.

Hi @BabaBhootnath,

one option that is simple and functional:

  • use October’s Media panel in backend (to allow .html files you can add ‘html’ extension in /config/media.php)

  • all uploaded files has public path like https://www.xxuni.edu/storage/app/media/faculty/math/document-1.html

  • users can upload HTML files from backend or through FTP

But there are also other ways:

  • create your own plugin with fileupload form field and then provide HTML files content through CMS page or your own plugin’s code

  • make this completely independent on October and whitelist folder where users can upload files through FTP