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

November 24, 2013 2.3k views
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.
6 Answers
"How can you upload a locally made drupal site?" See How To Use Filezilla to Transfer and Manage Files Securely on your VPS.

"I installed Drupal using the corresponding article..." What "corresponding article?"
by Pablo Carranza
This article will teach you how to use Filezilla to transfer and manage files securely on your VPS.
Thank you for the reply.

I managed to set up an sftp with filezilla and browse my directories but still couldn't find it.

I used this article:
by Raj Amal
Here's how to install Drupal with Nginx on an Ubuntu 13.04 VPS.
Why are you looking for the /var/www/ directory (Apache's default root directory)? According to the article you cited, you're supposed to use Nginx (and not Apache).

"Is there a sites/all folder, or something equivalent?"

According to Step 3 of that same article, you were to (manually) create a new directory in which to store your drupal files. Did you do that?

"Will change to Nginx+Apache configuration."

Why would you want to do that?

"... but still couldn't find it."

Could not find, what?
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.

As to using both Nginx and Apache, both according to this article:
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?

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.

Have you followed the article you mentioned? Is it all working properly now?
I just finished setting up apache+nginx with a complete drupal instalation running!
The tutorial was a great help and everything works fine!

I even set it up for multiple drupal instalations, but I will have to check that out when the domain names come in!
Have another answer? Share your knowledge.