PDA

View Full Version : Directory Structure


Crazy-Software
01-01-2008, 11:06 AM
Hello,

I just signed up for a new account here. I am not sure if I am doing this right or not.

I setup my directory structure like this

public_html
crazy-software.com
candywrapwarehouse.com

Inside of the crazy-software.com directory I have a lot more folders in there and the one folder I am trying to access is the community folder for my forum. Can I not do it this way?

This is the way I had it setup at my other hosting company and am wondering if this is not supported here???

When I type in http://www.crazy-software.com/community/restore/bigdump.php I get an error 404 not found message???

I need this file to work so I can rebuild my MySQL database and populate it so I can use my existing forum...

Early Out
01-01-2008, 11:16 AM
All of the files and directories to which you want the outside world to have access must be under public_html. So, if your primary domain at BH is crazy-software.com, then http://www.crazy-software.com/ points to the public_html directory.

If you have an addon domain, like candywrapwarehouse.com, everything for that domain must be in public_html/candywrapwarehouse.

Crazy-Software
01-02-2008, 07:03 AM
Thank You for that It is working now

edkenlon
01-02-2008, 07:23 AM
All of the files and directories to which you want the outside world to have access must be under public_html. So, if your primary domain at BH is crazy-software.com, then http://www.crazy-software.com/ points to the public_html directory.
.

I have a "newbie" question related to the directory structure. If "public_html" is where all the "published" content should be, does the alias of "www" point and load directly into that directory?

If "www" does load to public_html, isn't that sort of redundant? Do I need to bother with "www" when I ftp my file in for publishing?

Early Out
01-02-2008, 07:27 AM
The "www" directory is just an alias for "public_html," so you can simply ignore it. Don't delete www, but don't upload anything to it, either - it will automatically point to the public_html content.

The reason it's there, I believe, is that some software expects to find things under "www," and it's hard-coded into the software.

edkenlon
01-02-2008, 07:46 AM
Very helpful. That simplifies a few things for me. Thanks.