I've read some of the apache docs, but I can't find a comprehensive(current) guide on how to set up the apache server. The Apache Docs make for a good reference if you alread know what you're looking for, but I don't, unfortunately.
Here's my situation. I have a server that I want to host a few domains off of. For the time being, I registered a few domains at dyndns. natezacserver.ath.cx, ffs.ath.cx, and zwd.ath.cx. I got apache configured to the point where I can see the default page using any of the domains, but the different sites aren't working. Currently I have the defauly site defined and the ffs site defined, but the ffs site doesn't seem to be activated when I use ffs.ath.cx. I always get the same, default page.
Some lines from my httpd.conf
Code:
ServerName natezacserver.ath.cx
DocumentRoot /var/www
Port 80
<Directory /var/www/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi
</IfModule>
HostNameLookups on
ServerSignature On
<Location /doc>
order deny,allow
deny from all
allow from 127.0.0.0/255.0.0.0
Options Indexes FollowSymLinks MultiViews
</Location>
NameVirtualHost 66.79.174.10
<VirtualHost ffs.ath.cx>
DocumentRoot /var/users/ffs/www
ServerName ffs.ath.cx
<Directory "/var/users/ffs/www">
allow from all
Options +Indexes
</Directory>
ErrorLog /var/users/ffs/logs/error.log
LogLevel error
ServerAdmin zac@zacwittedesign.com
HostNameLookups on
</VirtualHost>
Thanks,
Zac