What is the difference between public_html and WWW

Procédure

What is the difference between the public_html and www folders on cPanel?

As you will no doubt have noticed on cPanel, when you go to"Site manager", you will see two folders with the same content. These are the public_html and WWW folders.

These two folders are not very different. cPanel can even work without the WWW folder but only with the"public_html" folder. In fact, the"public_html" folder is the main folder for your web hosting. This is where your website should be placed.

The WWW directory is a symbolic link to the "public_html" folder. This means that the contents of the"public_html" folder are cloned into the WWW folder in your FTP space.

The WWW folder has remained with cPanel over time, as some older software still uses this folder to publish website pages. As a result, this folder allows these older programs to function correctly.

Conclusion

You now know the difference between the"public_html" folder and the"WWW" folder on your cPanel web hosting. The best solution is to forget that the WWW folder exists and publish to the"public_html" folder directly.

Don't hesitate to share your comments and questions.

Rate this article :

5/5 | 1 opinion

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

1mn reading

How do I program a Cron task in cPanel?

0mn reading

How do I connect to cpanel via SSH using putty?

1mn reading

How do I resolve the ERR_CONNECTION_REFUSED error on cPanel?

1mn reading

How can I use WP-CLI to manage my WordPress instance on cPanel?


Ask the LWS team and its community a question