Difference Between The "public_html" and "www" In Linux

There really is no difference; your web root (where you upload your web site files to) is the "public_html" directory. The "www" directory is just a symbolic link (i.e., an aliased name that points to the same place) as public_html. To upload/publish, you should use "public_html", however, since some FTP and other publishing software can complain about a symbolic linked directory.

This is done for compatibility with the two default web roots hosting providers often use, to make migrating to our services easier by not having to change paths in scripts users might have from a previous provider that used another web root name.

 

  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Related Articles

Domain Physical Path in Windows 2003 Server

In Windows 2003 server , all the domains and subdomains will have the following format of...

How to Move Blogger to Self-hosted WordPress

How to Move Blogger to Self-hosted WordPress In this example, say that you have a Blogger blog...

IP Banning Through .htaccess

Setting up your error documents through the .htaccess file is easier than one might think. Here...

Setting Up A Web Page Redirect in Linux

Setting up a web page redirect is really easy. The simplest way would be to just to do it through...

SSL Certificate Transfer

Transfer SSL certificate: Windows Platform: For windows platform, kindly provide us...