Publish website within Google Cloud Moodle installation

Keywords: Moodle - Google Cloud Platform - How to - Services (Apache, MariaDB, MySQL…)

I would like to put a separate website inside my Google Cloud Moodle installation, but cannot figure out the right path. Moodle starts up fine if I go to my test site at But what path do I use to get to the htdocs directory under Apache2? This doesnt work:


Hi @drsteveherman,

The following guide explains how to add a custom PHP app:

You can configure a virtual host for the second site’s subdomain:

    ServerAlias *
    DocumentRoot /opt/bitnami/myapp
    <Directory "/opt/bitnami/myapp">
      Options -Indexes +FollowSymLinks -MultiViews
      AllowOverride All
      Require all granted


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.