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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
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