Creating A Site

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

  1. DualFusion

    DualFusion New Member

    Hello,

    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:

    Thanks,
    Kevin.
     
  2. falko

    falko Super Moderator Howtoforge Staff

  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 Howtoforge Staff

  5. mmistroni

    mmistroni New Member

    hiya,
    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 ..)

    hth
    marco
     
  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?

    Thanks,
    Kevin.
     
  7. falko

    falko Super Moderator Howtoforge Staff

    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 Howtoforge Staff

    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 Howtoforge Staff

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

    DualFusion New Member

    thank you :)
     

Share This Page