| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | public_html whats the difference in putting the main index.html in the /root and in the public_html folder? i have bought a few web sites that have this differences
__________________ |www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts FREE VB Skins |
| |
| | #3 (permalink) |
| NamePros Regular Join Date: May 2004
Posts: 958
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Alegend is right about public_html; on some servers you only have access to the public directory, so that's your base directory (sometimes called 'root' by the provider). In general, when you have access to directories below your public_html (or http_docs, or www...) it allows you to create safer storage for your binary files, and other files. |
| |
| | #4 (permalink) |
| Senior Member Join Date: Feb 2005
Posts: 2,478
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | some provided also just call it _public. It also allws you to have personal space that is not accessable by others. For instance, you make a big presentation with many a/v files in it and is too big for floppy and CD and you don't want tu burn a DVD and you have no external hard drive nor laptop (or just don't want to use them) you could upload it to the web that night, and login to your FTP the morning of the presentation and download it for use on site. then you just delete the file on site until you are ready to move onto the next site... I've doen this many times and it's a great side effect of having web space |
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | hmmm.. the website scripts must always be in the public_html? and the stuff in the /root is private? what about the www? and public_ftp? thanks for the info guys!
__________________ |www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts FREE VB Skins |
| |
| | #8 (permalink) |
| Senior Member Join Date: Aug 2002
Posts: 1,255
![]() ![]() | The www directory on cPanel servers is just a symbolic link of the public_html folder. You can upload files to either/or, they are basically the same directory. Some hosts will instruct their users to upload files into the www and others into the public_html, but they are basically the same, and the public_html is the real directory while the www is just a symoblic link to the public_html directory. Other servers may have the public_html directory named something totally different such as httpdocs, htdocs, sitename, web etc. ????: NamePros.com http://www.namepros.com/web-design-discussion/72229-public_html.html You can't acess files via the web, or at least you shouldn't be able to, that are stored in your root (home) directory which is usually one directory up from your public directory. You can use your root (home) directory just for storing files that you don't want others to gain access to via the web or other reasons like others have said above and/or put configuration files for your scripts and things like that in it. It's usually also used for things like storing your webstats, mail, temporary files and configuration options for your account. The root folder would also be considered your home directory and the public_html directory may be considered your root directory for web accessible files. The public_ftp directory is for anonymous ftp. If it's enabled, this will allow anyone to login to your site via ftp anonymously and depending on the settings users can view files that are stored in the directory, upload files to the directory, download files from the directory, or delete files from the directory. When a user logs in anonymously they would see the files that are stored in the public_ftp directory. |
| |