Knowledge base
The public_html and www directories

When you login to hosting account for the first time, you’ll probably end up noticing that the public_html and www directories have the same files in them and it will probably end up confusing you as to which one to use.
The answer? -Whichever one you like.
The www directory is not a directory at all, but in reality a symbolic link. It works like a shortcut to the public_html directory. Depending on what you’re accessing the files with, it may retain the www name as the directory you’re in, or it may show the actual directory you’re in (/public_html). Using either one will work the same way and you can even use the www when using paths in scripts if you like something that's shorter.
Categories
Getting started:
Cpanel control panel:
- How do I access my control panel?
- How do I access the Fantastico auto-installer?
- Awstats: Error: LogFile parameter
- Access your Cpanel before your domain has propagated
- Cron jobs: what are they, and how to use them
Webhost manager (WHM):
- Do not change the username or domain name for any of your domains
- Always let WHM finish the current process
- Do not use hyphens or underscores in usernames
- Access all accounts with the WHM password
- Setting strong passwords
Questions and tips:
E-mail:
- Blocking all mail to an e-mail address
- What are the SMTP and POP server addresses?
- Mailing lists: limits of usage
- What happens to e-mail when the server is down: is it returned to the sender or lost?
- How do I access webmail for my account?
Domains and DNS:
FTP and files:
- What are the FTP timeout settings?
- The public_html and www directories
- What is the maximum number of FTP connections per user?
- What is the max number of files/directories I can display in FTP?
- File permissions explained
Htaccess magic:
CGI, PHP and Perl:
- What is the path to..?
- Formmail: important notes
- ImageMagick
- SuExec: what it is and how it affects your scripts