Forum archive
how to configure www and ftp client account on Appliance - Web Stack
Hello everyone!
on the beggining i would like to thank you guys for the great appliance you've developed! its marvaless!
Actually this is the first time im starting my web server and i have no idea how to configre it.
Ive managed to configure the accounts for the mysql user and im able to login from outside via myphpadmin
Im not sure if I have to create a virtual server or edit the Existing virtual hosts... could someone explain in few steps how to configure the web server for my site.
I just want to put my files into a public folder (which one is it? - /var/www ?).
Thanks in advance
I can only offer very beginner help for www:
/var/www is the default web root.
Many people put folders inside to create...not virtual hosts, but separate sites.
So I may have /var/www/ampache --> http:/localhost/ampache
/var/www/limesurvey -->http://localhost/limesurvey
/var/www/elgg --> http://localhost/elgg
Another way is to configure a site in /etc/apache2/sites-available/ - use the existing files as a model. Then look up these commands for ubuntu and debian: a2ensite and a2dissite.
The third way I know of is to add a file in /etc/apache2/conf.d/ create a file called mysite.conf and format it and tag it as apache2 expects, and you should have your virtual hosts.
Sorry to be so vague; I only have a vague understanding myself, always have to use reference sources, and always use existing files as templates. Here's one of many resources: http://www.control-escape.com/web/configuring-apache2-debian.html
All the best,
Rik