Report this

What is the reason for this report?

var/www to home/user/public_html?

Posted on February 20, 2014

Hello, I’m newbie on VPS configuration but I learn quick. I have a doubt about the server arquitecture.

I want to have my VPS as clean as possible, and in my old webhost server I could see I have two folders with the exact same info: var/www and /public_html

As I understand, var/ww is a backup of /public_html which is the folder where Internet users go when they visit my website, is that correct?

How can I do that on my VPS?

My thoughts tell me that I can create the folder for each site on /home/user/public_html and create the FTP users with limited privileges, but what happens with the var/www folder?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.