The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need help with ftp, please read

Discussion in 'General Discussion' started by tihp, Nov 30, 2003.

  1. tihp

    tihp Registered

    Joined:
    Aug 4, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I understand that when you create an extra ftp account & subdomain, it will be something like:

    1) located: /home/mothership/public_html/newsub
    2) username: newsub@mothership.com | pass: blahblah
    3) URL:http://newsub.mothership.com

    Is it possible to change 1) to /home/mothership/public_html/subgoeshere/newsub
    [I have root to the server]?

    I'm going to setup around 40-50 subaccounts and I don't want them to clutter on my main /public_html. I want all subfolders to be under /public_html/subgoeshere/

    Is there a file I can manually edit for this?

    thanks,
     
  2. critter

    critter Well-Known Member

    Joined:
    Nov 19, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Amarillo, Texas
    You can "redirect" them from the subdomain maneger in cpanel, but it sounds like you'd like to set a default.
     
  3. Dmitry M.

    Dmitry M. Active Member

    Joined:
    Dec 4, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    If you add additional FTP account cpanel asks you a folder for this account. You can enter /home/mothership/public_html/newsub/newsub
    or
    /home/mothership/public_html/newsub/newsub/newsub
    or anything else.

    If you want to change folder for subdomain you need to edit http.conf file (Apache config). Just look for virtual host for this subdomain and change DocumentRoot to folder you want.
     
Loading...

Share This Page