Hi, I have removed public_html from my server. As I guess this is the catalogue in which I need to set up my website. However, I can see public_html folder listed, but when I want to open it, it says there's no such file. What can I do?
hassanzobeen
12:59 pm on May 29, 2010 (gmt 0)
Hello Friend use your FTP panel and create a folde public_htmlin the main root of /home/username/
here username is the user name of your cpanel you can also create public_html folder from you Cpanel's file manager
hassanzobeen
1:09 pm on May 29, 2010 (gmt 0)
You can also follow this easy path
Login to your cpanel> click on file manager> select home directory > click on new folder on the left top > type public_html in the folder name > type folder path i.e. /home/your-cpanel-username > click on ok button > change the permission of public_html to 750 > double click on public_html folder > in side your public_html folder create new folder with the name cgi-bin and path i.e. /home/your-cpanel-username/public_html/ then click on ok
all done
lidl
1:22 pm on May 29, 2010 (gmt 0)
Hey, thanks for the quick reply.
But as I said. I CAN SEE public_html folder, both in my ftp manager and even browser. However, when I want to enter it, it says there's no such file. If I want to create public_html folder in my ftp manager, it says there's already such catalogue.
jdMorgan
2:21 pm on May 29, 2010 (gmt 0)
Please post the specific error message that you get when you "try to enter" your /public_html folder.
It is quite possible that the error message is telling you (indirectly) that there is no directory index file in that directory, and that the server is not configured to automatically generate one.
This can be "fixed" by uploading an HTML file -- typically named "index.html" to the public_html directory, or by enabling directory-index generation using the directive "Options +Indexes" in a .htaccess file uploaded to /public_html/.htaccess
For initial testing, the first method is simplest -- just upload a simple file: