Question

How can you upload a locally made drupal site? Where do you put it?

I installed Drupal using the corresponding article, but eventually couldn’t find even the /var/www directory. Is there a sites/all folder, or something equivalent?

Using Nginx. Will change to Nginx+Apache configuration.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

I just finished setting up apache+nginx with a complete drupal instalation running! <br>The tutorial was a great help and everything works fine! <br> <br> I even set it up for multiple drupal instalations, but I will have to check that out when the domain names come in!

Nginx is faster than Apache at serving static files so it would make sense to configure nginx to serve static files, while having apache serve the rest of your application. <br> <br>Have you followed the article you mentioned? Is it all working properly now?

You are 100% corretct. I messed up the tutorials and I think I did the Apache one. I have started the process from scratch and will pay more attention. There is a learning curve, it’s my fault for trying to cut through it. <br> <br>As to using both Nginx and Apache, both according to this article: <br>https://www.digitalocean.com/community/articles/how-to-configure-nginx-as-a-front-end-proxy-for-apache <br>and other sources it appears to be the more efficient choice. Correct me if I’m wrong but in this configuration the site has to go to the apache’s directory, no? <br> <br>