I’m currently running Ghost on the root of my domain but I also want to have subdirectories to run some tutorials I’m making, for example:
mydomain.com/tutorials mydomain.com/examples mydomain.com/playground
How can I accomplish this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Is there anything stopping you from hosting them on their own subdomains (e.g. tutorials.yourdomain.com)? It’s usually easier to configure multiple apps that way.
Quite simple if you’re using Nginx as a reverse proxy in front of Nginx, just setup a specific Nginx location context for your non-Ghost directories. Examples can be see on my Ghost blog at the following for my sitemap <br> <br>http://ghost.centminmod.com/ghost-sitemap-generator/ <br> <br>location ~ ^/(yournonghostwebappdirectory) { <br> root /yournonghostappwebroot; <br>} <br> <br>Easiest way to add non-Ghost stuff to your Ghost blog i.e. <br> <br>http://ghost.centminmod.com/ghostinfo/ <br>http://ghost.centminmod.com/themeforest/ <br> <br>:)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.