How to upload web pages on the server?

Posted January 18, 2015 3.7k views


I installed a LEMP stack on my server following this tutorial:
Everything works.
Now I am logged as a user and am in this dir:

Could you pls direct me what dir I need to go to upload my wep pages and be able to access them in my browser like IP_ADDRESS/filename.php ?

If there are any tutorials on that I’d appreciate if you link them.
I want to use console for creating/uploading web pages.

Kind regards,

1 comment

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.

Submit an Answer
1 answer

This question was answered by @gndo:

These two tutorials are a good introduction at configuring nginx:

Uploading from the console? Perhaps you may instead want to look at a file transfer program like FileZilla which is available for several platforms.

View the original comment

by Justin Ellingwood
Nginx is one of the most popular web servers in the world. In this guide, we will discuss how Nginx selects the server and location block that will handle a given client's request. We will go over the algorithm in place, as well as the directives and options you can use to modify the selection process.