Creating Sub Directories with Ghost 1-Click Installation
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.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.