How to use ftp on subdomains

Discussion in 'Installation/Configuration' started by findafriend, Feb 17, 2008.

  1. findafriend

    findafriend New Member

    Hi

    I got one domain lets call it hansi.com

    On hansi.com i need then subdomains :

    1.hansi.com
    2.hansi.com

    etc

    I also need separate ftp-login on each subdomain. That's 10 ftp login accounts in all.

    How do i do that in ISP Config.
    I have read the manual and could not find a solution for this.

    Sincerely

    Mogens
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Create a new website for every subdomain.
     
  3. findafriend

    findafriend New Member

    Hi Till

    I have tried that, but the problem is not creating subdomains.
    The problem is to create ftp-accounts for subdomains, so the user on the ftp subdomain account only can log into a ftp-user account to a specific subdomain.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I fully understand that and the solution is what I posted above. Create a new website. the ftp users of this site will of course only see the files of this subdomain.
     
  5. findafriend

    findafriend New Member

    I have already done that and tested it. It doesn't work
    What know, you can't make ftp-account for each subdomain website.
    Under co-domains i have made 10 domains.
    Under the mainpage it just says 1 ftp-account...
    Is there a guide somewhere to make those ftp-account since I'm not able to tell you what i mean ?
     
    Last edited: Feb 17, 2008
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    If you would have done what I described above (create a new sebiste per subdomain), you could have made a ftp user per subdomain.

    I guess you mix up things. You shall make a new website for every subdomain and not add a co-domain.
     
  7. findafriend

    findafriend New Member

    Hi Till

    Sorry to say but now it is totally nonsense.
    I have removed all subdomains under hansi.dk.
    After i try to install a new website called :

    1.hansi.dk

    I get the following error :

    The name 1.hansi.dk is already in use by another side or domain.

    I have look into the trashbin and it is empty.
    And there are only one site with the name called :

    www.hansi.dk

    So as you can see, IT IS NOT possible to make a two websites under the same TLD domain.

    Sincerely

    Mogens
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    It is possible, please empty the recycle bin!
     
  9. createch

    createch ISPConfig Developer ISPConfig Developer

    I tried till's suggestion. It works 100% for me.

    I created 2 site, one is www.andreatemp.com, and the other is sub1.andreatemp.com.

    [​IMG]

    Of course I can 2 create separate ftp accounts since there is 2 sites, just create a email account with admin right for each.

    Then I tested login with both ftp accounts, they will login to different folders.
    So that's what I want. [see the following 2 pictures... different ftp login will go to different folders]
    [​IMG]

    [​IMG]
    Thanks till again !
     
    Last edited: Apr 28, 2008

Share This Page