PDA

View Full Version : Creating A Site


DualFusion
24th February 2008, 01:40
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.

falko
24th February 2008, 14:36
Take a look here: http://httpd.apache.org/docs/2.0/vhosts/name-based.html
Regarding DNS, take a look here: http://www.howtoforge.com/traditional_dns_howto

DualFusion
24th February 2008, 17:26
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?

falko
25th February 2008, 17:05
Regarding email accounts, take a look here: http://www.howtoforge.com/forums/showthread.php?t=2
You can use these users for FTP as well, but please make sure that their shell is listed in /etc/shells.

mmistroni
25th February 2008, 18:33
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

DualFusion
25th February 2008, 21:14
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.

falko
26th February 2008, 19:16
how can i use those accounts for apache?
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?

DualFusion
26th February 2008, 23:18
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?

falko
27th February 2008, 13:21
oops, I meant how to use those accounts to create ftp accounts :PYou 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.

DualFusion
27th February 2008, 21:23
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?

falko
28th February 2008, 19:58
what if i want to limit some accounts with no email, how do i create the ftp accounts?
You can add these usernames to /etc/aliases like this:
username: /dev/null
Run newaliases after you've modified the file and restart Postfix.

DualFusion
28th February 2008, 21:02
thank you :)