Welcome to WebmasterWorld Guest from 107.20.20.39

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

removed public html folder

   
12:55 pm on May 29, 2010 (gmt 0)

5+ Year Member



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?
12:59 pm on May 29, 2010 (gmt 0)

5+ Year Member



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
1:09 pm on May 29, 2010 (gmt 0)

5+ Year Member



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
1:22 pm on May 29, 2010 (gmt 0)

5+ Year Member



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.
2:21 pm on May 29, 2010 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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:
<html>
<head></head>
<body>
<p>Hello world!</p>
</body>
</html>

If none of this works, then ask your host to "rebuild" your hosting account to restore the missing directories, files, and configuration settings.

Jim
4:16 pm on May 29, 2010 (gmt 0)

5+ Year Member



Error changing directory to 'public_html'.

public_html: No such file or directory

This is what I get in WinSCP.

And I can't fix it as you wrote, because I can't open it.
12:24 pm on Jun 1, 2010 (gmt 0)

5+ Year Member



ok, my admin retrieved the files.

[img72.imageshack.us...] what of this can I remove?
4:15 pm on Jun 1, 2010 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I suggest that you leave it alone until you *know* which of these files you need, and which you don't. There's a lesson here for all...

Jim