Hey all,
I'm having some apache problems. I've installed apache countless times on FreeBSD. However, I'm having some problems and I could use some help. Here is my system info:
FreeBSD 5.2.1
Apache 2.0.51 (/usr/local/apache2), doc root (/www symlink to /var/www)
PHP 5.0.1 (/usr/local/php)
MySQL 4.1.3 (/usr/local/mysql)
AMD 1.5Ghz/512MB
I am using a DNS hosting provider to point serveral domains to my IP address. From there my router passes all port 80 requests to my web/email server. Once to my server, Apache uses the Virtual Host to forward to the right site directory.
Well my domains to get to my site, however apache isn't routing the domain requests to the right folders; my default domain is showing up. Here are a few lines from my httpd.conf file i thought might be useful for your help:
ServerRoot "/usr/local/apache2"
Listen 192.168.77.3:80
ServerName
www.ezekiel61-domain.com:80
DocumentRoot "/www"
NameVirtualHost *:80
# ezekiel61-domain.com
<VirtualHost *>
DocumentRoot /www/ezekiel61-domain.com
ServerName ezekiel61-domain.com
ErrorLog logs/ezekiel61-domain.com-error_log
CustomLog logs/ezekiel61-domain.com-access_log common
</VirtualHost>
# bar.ezekiel61-domain.com
<VirtualHost *>
DocumentRoot /www/bar.ezekiel61-domain.com
ServerName bar.ezekiel61-domain.com
</VirtualHost>
# badonkadonk.org
<VirtualHost *>
ServerName butt.badonkadonk.org
DocumentRoot /www/butt.badonkadonk.org
</VirtualHost>
all these directories exists, but for some reason only my primary domain shows up. So if I goto
www.ezekiel61-domain.com, I do see its homepage. If I goto butt.badonkadonk.org I see
www.ezekiel61-domain.com.
Any suggestions? Thanks in advance!!!
E