Re: Apache Name Based VirtualHost


Subject: Re: Apache Name Based VirtualHost
From: Jon Reynolds (jonr@destar.net)
Date: Mon Oct 28 2002 - 22:30:43 AKST


I have now got two domains setup using virtual hosts on my static IP. I
want to thank Chris and James for their help in setting it up and
answering the questions I had. Here is what I finally ended up doing.

I first had to make a zone entry in my dns server to host my brothers
domain. From my understanding I didn't have to make a seperate file
pointing to his mail or web servers because I would be hosting them
myself. If he did have his own servers I would have had to setup a
database file pointing to his servers, if I am incorrect here please
feel free to correct me.

Then in section 3 of my apache config file (httpd.conf) I had to remove
the # comment sign from 'NameVirtualHost *' to tell my webserver that I
would be using name based virtual hosting. After that I simply had to
fill in the 'ServerAdmin' with my email address, 'DocumentRoot' with
where my index.html file was located and 'ServerName' with what the
webaddress would be for that site eg. www.mydomain.com. There were also
the 'ErrorLog' and the 'CustomLog' blocks with where I wanted my log
files to be generated.

Mike at one point talked about a few security concerns with apache that
where open by default. I can't remember them now, so if anyone remembers
and would please refresh my memory I would appreciate it.

Thanks again guys,

Jon

 

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Mon Oct 28 2002 - 22:30:25 AKST