Report this

What is the reason for this report?

How to upload web pages on the server?

Posted on January 18, 2015

Hi,

I installed a LEMP stack on my server following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-14-04 Everything works. Now I am logged as a user and am in this dir: /home/username

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,



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.

This question was answered by @gndo:

These two tutorials are a good introduction at configuring nginx:

https://www.digitalocean.com/community/tutorials/understanding-nginx-server-and-location-block-selection-algorithms

https://www.digitalocean.com/community/tutorials/understanding-the-nginx-configuration-file-structure-and-configuration-contexts

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

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.