How to upload web pages on the server?

January 18, 2015 1.2k 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
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

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.
Have another answer? Share your knowledge.