I am preparing to teach a short programming course to some students. My time in the classroom will be limited, and I am not confident in the resources that will be available to me. However, the students will all have ChromeBooks, and I expect to be able to provide a server to which they can connect. I intend to prepare a virtual machine, running some variant of a LAMP stack, to use for the course. I would like students to be able to connect to a site on the machine in which they can edit and publish their own work, which is then hosted on other sites on the same machine.
I don't know if this is something that would be made easier by using Drupal (or any such CMS, for that matter). My concern is that the published code is inaccessible as an independent site, or restricted simply because any self-respecting CMS would have enough security around its content to keep this from working. In other words, I want to use Drupal for the editing and publishing, but the content is 'off-site' though on the same machine - perhaps just in a virtual directory.
So... any suggestions?