Report this

What is the reason for this report?

Serving up subdirectory when Ghost is already installed on Ubuntu

Posted on February 6, 2014

I think I am just missing a key config update here… But what I am trying to do is set up a subdirectory on my Droplet to serve up some static HTML/CSS files… I already have Ghost running on var/www and I installed it as part of the Droplet install. How can I configure a subdirectory to also run on Apache or at least let me display the contents of the directory? I tried to add a virtual host but that didn’t do the trick…



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!

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.

Are you using the Ghost application, or did you install it yourself? If you’re using the application, that uses nginx as its web server, not Apache. This tutorial should point you in the right direction for setting up virtual hosts with nginx: <br> <br>https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.