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!
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
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.