X
X
X
X

knowledgebase

HomeknowledgebaseWeb hostingWhere should I put my files so that...

Where should I put my files so that they are accessible?

Once in your hosting directory (which you can access either by FTP or via the Panel), you must put your files in the  /public_html folder  for Cpanel and or in  /httpdoc  for Plesk of your hosting. This folder is the public directory for your account. All files in this folder will be accessible by your domain name. Here are some examples :

  • /public_html/fichier1.html ⇒ votredomaine.com/fichier1.html
  • /public_html/unrepertoire/unfichier.jpg ⇒ votredomaine.com/unrepertoire/unfichier.jpg
  • /privatefile.html ⇒ not accessible by the domain name because the file is outside the public_html folder

Please note that the www folder is a shortcut to /public_html or /httpdoc. For your files to be visible, they must be in the /public_html or /httpdoc folder of your hosting.

Vous ne trouvez pas les informations que vous recherchez?

Créer un ticket d'assistance
L'avez-vous trouvé utile?
(43 fois vues / 1 personnes l'ont trouvé utile)

Top