Forum Moderators: phranque
here's another one, I have installed apache (just by going through the prompts) and everything seems to be running fine. I have the feather with the green triangle in the tray. How do i configure apache for the best performance and how do I set up the directories and folders for the web sites I want to host on the server.
I have no ambitions of running a hosting company just hosting sites for myself and a few friends.
Does anyone know of any artilces, tuts, or books that can explain how to do that? I have looked at a few I found online but as i said erlier, most only deal with linux, unix, and installing the apache server. When you get past that the articles seam to dry up and those that deal with windows are virtually nonexistant.
The Apache [httpd.apache.org] pages are a resource that you will use quite often. The manual for each version can be found in the links on the left of that page under "Documentation". (Your local installation probably also has the manual installed as well). One of the best ways to learn how to use Apache is to find and open the
httpd.confconfiguration file and start reading through it. For each directive that you are unfamiliar with, read the comments but then also read the associated manual page for that directive. Yes, it will take a little time but well worth the investment to fully understand the HTTP server.
The Documentation pages also have a section titled "Performance Tuning" that you can read through.
You can register more than one domain -- as many as you can afford.
You can host multiple domains on one server -- See "Name-based virtual servers"
You can 'break up' a big site into several smaller ones by using subdomains of the main domain.
Subdomains are part of the main domain, and therefore don't need to be registered separately.
You can create as many subdomains as you like, such as search.google.com, gmail.google.com, and www.google.com -- all are subdomains of the google.com domain.
Subdomains can co-exist on the same server, or be assigned to different servers, as you like.
Jim