Multi-site CMS for personal websites
I wanted to host several personal websites using different domains on the same server, without code or database duplication. Here's what I did.
- Change layout of your website by changing the site template/design
- Upload individual images (.jpg) or documents (.pdf), to be displayed or hyperlinked on a page
- Upload a set of images (.jpg), to be published as album on a page
- Add and edit individual pages using a rich text editor
- Secure individual pages with an URL password
Assuming that you have a webserver, PHP and MySQL installed (see above), and downloaded or cloned this repository:
- Follow instructions in
app/thirdparty/composer/EXTERNAL.md
- Follow instructions in
www/bcknd/static/js/EXTERNAL.md
- Connect to your MySQL Server and run all scripts in
dbdump/
starting with01.sql
- Let a domain or subdomain point to
www/multisite
(shared frontend files for all websites) - Let a domain or subdomain point to
www/bcknd
(shared backend for all websites) - Let a domain or subdomain point to
www/demo
(demo website) - Copy
app/setup.ini.skel
toapp/setup.ini
- Set configuration values in
app/setup.ini
- On your MySQL server, run
UPDATE multisite.tblSite SET URL = '(demo domain)' WHERE ID = 1
, where demo domain is the domain configured in step 6 - Open the domain configured in step 6 in your browser to access the demo website
- Open the domain configured in step 5 in your browser to edit your website using user name
demo
and passwordshowme