[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apache named virtual hosts
At 05:36 PM 10/26/1999 -0700, Aaron Turner wrote:
>On Tue, 26 Oct 1999, Michael Viron wrote:
>
>> I just tried that, and it comes back "syntax OK"
>>
>> (it's actually apachectl configtest)
>>
>> Mike
>
>'apachectl configtest' executes 'httpd -t' :-)
>
>My next question is "what do you mean it doesn't work?" Error messages?
>Web server not doing what you think it should? What? Knowing what you're
>trying to do would be helpful too
(Part of the problem was that I forgot the NameVirtualHost directive)
OK, here goes. I just recently had the following added to the dns tables:
Name: wsdo.sao.uwf.edu
Address: 143.88.22.108
Aliases: geo.sao.uwf.edu, linuxkb.sao.uwf.edu
Name: wsdodev.sao.uwf.edu
Address: 143.88.22.24
Aliases: www.sao.uwf.edu
Name: wsdovp.sao.uwf.edu
Address: 143.88.22.79
Aliases: wsexec.sao.uwf.edu
That part was finished today.
Next part is, I want to virtual host each alias for the machines under a
different directory in the directory structure, such as the following:
For the General Education Online site:
geo.sao.uwf.edu --> /home/projects/geo/public_html/
For the linuxkb development devel site:
linuxkb.sao.uwf.edu --> /home/projects/linuxkb/html/
For the others, www.sao.uwf.edu (alias for wsdodev) should point to a
directory such as /home/ucsa/html and wsexec.sao.uwf.edu (alias for wsdovp)
should point to /home/wsexec/html/
without disturbing the sites available on port 80 already, such as "Web
Spinners Online" on wsdo.sao.uwf.edu.
I got to the point where I got the virtual hosts working--except for the
fact that I could not get access to the actual main site (wsdo.sao.uwf.edu
--> Web Spinners Online)
via wsdo.sao.uwf.edu
Do I have to add a virtual host entry for wsdo.sao.uwf.edu?
(As for the SSL, it is possible to run two SSL servers on the same
certificate, since we are running them on port 443 and 444 of the same
machine under the same http daemon)
Hope the above helps. If not, let me know,
Mike