Creating A Site

Discussion in 'Server Operation' started by DualFusion, Feb 24, 2008.

  1. DualFusion

    DualFusion New Member


    I used the Perfect Server Ubuntu Setup tutorial here. I chose not to install ISPConfig and the Mail server. I would like to know how I can add a site in Apache, and any where else its needed. I believe that also includes the DNS :confused:

  2. falko

    falko Super Moderator ISPConfig Developer

  3. DualFusion

    DualFusion New Member

    Hey, thanks falko! but what about FTP and Mail accounts, and possibly any other accounts that I would need to make for a good site?
  4. falko

    falko Super Moderator ISPConfig Developer

  5. mmistroni

    mmistroni New Member

    not sure if i can help as i m no linux master here :)

    i have my own site with mail server and apache running on it
    for mail server i followed tutorials here on how to forge in order to install
    pop and smtp server

    then i installed squirrelmail so that i can manage better my email
    i have created a user, info, to which i have associated an emal

    Not sure what is your situation, in my case i am renting a VPS, i asked to create a domain for me, threfore for me to have a site was sufficient to start apache and to just create a site via apache (check apache docs, it's all about playing iwth apache configuration files ..)

  6. DualFusion

    DualFusion New Member

    how can i use those accounts for apache? My purpose in this is to create my own little installer on cmd line, like any other installer for Ubuntu. I will make it so that i can input the domain, user/pass, etc... so i would like to know how to create all the accounts in order to integrate into my script.

    Also, what about quota?

  7. falko

    falko Super Moderator ISPConfig Developer

    How do you mean that? Your users don't have to log in to access web pages. OR are you referring to the file permissions and ownerships of the files and diretories in the document root?
  8. DualFusion

    DualFusion New Member

    oops, I meant how to use those accounts to create ftp accounts :p

    can you show me how to verify that their shell is in the location as well?
  9. falko

    falko Super Moderator ISPConfig Developer

    You can use the email accounts for FTP without any changes. All you have to make sure is that the shell of the users (it is listed in /etc/passwd) is listed in /etc/shells.
  10. DualFusion

    DualFusion New Member

    so, once i make an email user, it automatically creates an FTP account?

    what if i want to limit some accounts with no email, how do i create the ftp accounts?
  11. falko

    falko Super Moderator ISPConfig Developer

    You can add these usernames to /etc/aliases like this:
    username: /dev/null
    after you've modified the file and restart Postfix.
  12. DualFusion

    DualFusion New Member

    thank you :)

Share This Page