FTP folder


#1

Hello there. I was wondering how to get the http url for some
pictures off of my ftp are. I noticed for my main ftp account the folder you upload the files to will be in a subfolder with the same domain name if you want to see it as a webpage/file for http. For the additional ftp accounts, I noticed there was no sub folder named after the domain name
to upload the pictures into if i wanted to see them online. I made a new subfolder with the domain name in it and when I uploaded the files to that folder…it wouldn’t work the same way the main ftp account would. Get what im talking about? Any help would be appreciated


#2

The software that actually runs the web site is call an web server.
The web server is configured to look for files in a directory called the document root. When activating a domain or subdomain in the DreamHost Web Panel, the document root is called the “Web Directory.” This document root is the path to a directory in the home directory of a single user.

However one can configure the web server to map URL paths to a directory outside the scope of the document root. One configures the web server to do this using the Alias directive. However the DreamHost Web Panel has to do it for you and its called “Remap Sub-Dir”.

For example, if your domain is example.com, and you want http://example.com/second_user/ to show files uploaded by second_user, then you use the Remap Sub-Dir panel to map the URL path /second_user/ to the a subdirectory /home/second_user/web. It’s generally not a good idea to map a URL path to a home directory itself.

If you don’t intend to map URL paths to directories belonging to different users, and actually intend for more than one person to manage the files for the domain, just share the username and password of the user managing that domain.

:cool: Perl / MySQL / HTML CSS