marsguy: The listing below came out of a working FC3 Name-based Apache 2.0 system (httpd-2.0.52-3.1) using a single IP address:
The domain names were changed to name1.org, name2.org and name3.org, where the Fully Qualified Domain Names are www2.nameX.org (“redirects”).
Snippets from httpd.conf (obviously not the entire file):
Listen *:80
Listen *:8080
ServerName 127.0.0.1
DocumentRoot "/var/www/html" #Not used, just left in place
#HUGE GAP
NameVirtualHost *:80
NameVirtualHost *:8080
LockFile "/var/lock/httpd.lock"
CoreDumpDirectory "/etc/httpd"
# Virtual Default Host name1 (This is the main site)
<VirtualHost *:80 *:8080>
DocumentRoot /var/www/html/name1/
ServerAdmin root@localhost
ServerSignature email
Directorylndex index.php index.html index.htm index.shtml
LogLevel debug
HostNameLookups off
</VirtualHost>
# Virtual host name2
<VirtualHost *:80 *:8080>
DocumentRoot /var/www/html/name2
ServerAdmin root@localhost
ServerName www2.name2.org
ServerAlias name2.org
ServerAlias
www.name2.org
ServerAlias *.name2.org
Server Signature email
Directorylndex index.html index.htm index.shtml
</VirtualHost>
# Virtual host name3
<VirtualHost *:80 *:8080>
DocumentRoot /var/www/html/name3
ServerAdmin root@localhost
ServerName www2.name3.org
ServerAlias name3.org
ServerAlias
www.name3.org
ServerAlias *.name3.org
Server Signature email
Directorylndex index.html index.htm index.shtml
</VirtualHost>
Hope that helps.