Report this

What is the reason for this report?

Creating Sub Directories with Ghost 1-Click Installation

Posted on August 28, 2014

Hi guys,

Beginner Digital Ocean and SSH user here - so I am actively learning about controlling my remote server from Terminal using command prompts (quite a lot of fun).

I am trying to configure my 1 click Ghost installation setup (www.example.com) so that I can have separate sub directories that will contain static HTML / CSS apps to work on URLs such as www.example.com/app01 and www.example.com/app02 and www.example.com/app03 etc…

These static HTML / CSS apps will be uploaded to these custom sub directories via SFTP - which I can login to using my favorite FTP program.

I have spent the last few days reading through many questions, tutorials, and even lodging a support ticket with Digital Ocean help desk - however, I am unable to get this working properly without encountering 404 errors, or breaking the server configuration files.

From what I have read so far, I need to setup virtual hosts to work with Ghost (the 1 click installation uses nginx).

This is a long shot, however, is anyone able to assist with a step-by-step simplified tutorial by any chance?

Thanks for your help in advance!

FYI - I have already setup a custom domain to point and work with my server.

PS - I have tried the following tutorials below but they cause more confusion than anything else.

https://www.digitalocean.com/community/questions/serving-up-subdirectory-when-ghost-is-already-installed-on-ubuntu

https://www.digitalocean.com/community/questions/how-can-i-create-a-folder-to-be-a-sub-directory-on-my-domain

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.