![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Virtual Hosts and Alteon DNS conflicts | jackola | UNIX for Advanced & Expert Users | 0 | 04-08-2008 01:14 PM |
| Apache Virtual Server Help | ratnamg | Linux | 0 | 02-05-2008 08:44 PM |
| Application & Virtual hosts in Apache | moe2266 | UNIX for Dummies Questions & Answers | 0 | 10-16-2007 02:12 PM |
| Resolving Aliases and Virtual IP's on a Host | Scott Pullen | UNIX for Advanced & Expert Users | 1 | 12-20-2001 02:11 PM |
| Apache virtual host | 98_1LE | UNIX for Dummies Questions & Answers | 4 | 12-11-2001 06:23 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Apache 2 Virtual Hosts not resolving
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|