homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

removed public html folder

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

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)

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)

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)

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)

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

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



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

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)

ok, my admin retrieved the files.

[img72.imageshack.us...] what of this can I remove?


 4:15 pm on Jun 1, 2010 (gmt 0)

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...


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved