Report this

What is the reason for this report?

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

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



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.

<b>“How can you upload a locally made drupal site?”</b> <i>See</i> <a href=“https://www.digitalocean.com/community/articles/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps”>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?”

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: https://www.digitalocean.com/community/articles/how-to-install-drupal-with-nginx-on-an-ubuntu-13-04-vps

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?

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.