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

  • Posted November 24, 2013

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

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

Why are you looking for the <code>/var/www/</code> directory (Apache’s default root directory)? According to the article you cited, you’re supposed to use Nginx (and not Apache). <br> <br><b>“Is there a sites/all folder, or something equivalent?”</b> <br> <br>According to <b>Step 3</b> of that same article, you were to (manually) create a new directory in which to store your drupal files. Did you do that? <br> <br><b>“Will change to Nginx+Apache configuration.”</b> <br> <br>Why would you want to do that? <br> <br><b>“… but still couldn’t find it.”</b> <br> <br>Could not find, what?

Thank you for the reply. <br> <br>I managed to set up an sftp with filezilla and browse my directories but still couldn’t find it. <br> <br>I used this article:

<b>“How can you upload a locally made drupal site?”</b> <i>See</i> <a href=“”>How To Use Filezilla to Transfer and Manage Files Securely on your VPS</a>. <br> <br><b>“I installed Drupal using the corresponding article…”</b> What “corresponding article?”