public_html folder?

The public_html folder is the web root for your primary domain name.

This means that public_html is the folder where you put all website files which you want to appear when someone types your main domain (the one you provided when you signed up for hosting).

You can also create Addon domains and Subdomains, and these will use a folder inside public_html.

e.g. You can create an Addon domain called example.com and it will use a subfolder similar to /public_html/example.com/


The public_html folder should always have 0750 permissions.

All folders inside the public_html folder should have 0755 permissions.

All files inside the public_html folder should have 0755 or 0644 permissions.

هل استفدت من هذا الجواب؟

 أطبع هذا المقال

اقرأ أيضا

How do I add database and user for database?

Create: If you are using any type of PHP software or keeping a collection of records which...

What is an addon domain?

An addon domain is a fully functional domain that can be created from within your control...

How to change cPanel password?

There may be times where you would like to change the password of your account. It is...

How to view your statistics using Awstats?

When you have a website online, you may want to check on how many people are coming to your...

What is a parked domain?

Parked domains are secondary domains that you point to your account. They will display the...