NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page public_html

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 02-26-2005, 01:05 PM THREAD STARTER               #1 (permalink)
NamePros Expert
 
redhippo's Avatar
Join Date: Oct 2003
Location: ANForum
Posts: 5,218
redhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to behold
 



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
redhippo is offline  
Old 02-26-2005, 01:10 PM   #2 (permalink)
PHPHelpSite.com
Join Date: Feb 2005
Location: Boston
Posts: 2,580
alegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud of
 



public_html is for files you want to be public.. if you put the files into the root you will only be able to see them nobody else, this is different on some servers though.
alegend is offline  
Old 02-26-2005, 01:39 PM   #3 (permalink)
NamePros Regular
 
Virgil's Avatar
Join Date: May 2004
Posts: 958
Virgil is a name known to allVirgil is a name known to allVirgil is a name known to allVirgil is a name known to allVirgil is a name known to allVirgil is a name known to allVirgil is a name known to allVirgil is a name known to all
 



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.
Virgil is offline  
Old 02-26-2005, 03:17 PM   #4 (permalink)
Senior Member
Join Date: Feb 2005
Posts: 2,478
WuLabsWuTecH is a splendid one to beholdWuLabsWuTecH is a splendid one to beholdWuLabsWuTecH is a splendid one to beholdWuLabsWuTecH is a splendid one to beholdWuLabsWuTecH is a splendid one to beholdWuLabsWuTecH is a splendid one to beholdWuLabsWuTecH is a splendid one to beholdWuLabsWuTecH is a splendid one to behold
 



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
WuLabsWuTecH is offline  
Old 02-26-2005, 05:48 PM THREAD STARTER               #5 (permalink)
NamePros Expert
 
redhippo's Avatar
Join Date: Oct 2003
Location: ANForum
Posts: 5,218
redhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to behold
 



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
redhippo is offline  
Old 02-26-2005, 05:52 PM   #6 (permalink)
PHPHelpSite.com
Join Date: Feb 2005
Location: Boston
Posts: 2,580
alegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud of
 



www is usually a shortcut for public_html, I think people can download files but not upload in public_ftp..
alegend is offline  
Old 02-27-2005, 02:35 AM   #7 (permalink)
New Member
Join Date: Jan 2005
Posts: 11
megrisoft is an unknown quantity at this point
 



It is just the permisson access levels of different folders, I think files will be uploaded in the "www" directory
__________________
Jagan Nath
Web Design India
Website Design India
megrisoft is offline  
Old 02-27-2005, 01:45 PM   #8 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



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.
deadserious is offline  
Old 02-27-2005, 01:47 PM   #9 (permalink)
PHPHelpSite.com
Join Date: Feb 2005
Location: Boston
Posts: 2,580
alegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud of
 



well explained deadserious
alegend is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:32 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger