httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfore...@ibsys.com
Subject RE: Stupid virtual host problem..
Date Tue, 09 Jul 2002 16:30:15 GMT
Do you have a DNS record for the calendar host?

Does it resolve from the box you are setting up the virtual host on?

Does it resolve to an address on the box you are setting up the virtual host
on?

--
Timothy W. Foreman ~ System Administrator
Internet Broadcasting Systems, Inc. ~ tforeman@ibsys.com


> -----Original Message-----
> From: Chad Day [mailto:cday@atpco.com]
> Sent: Tuesday, July 09, 2002 11:18 AM
> To: users@httpd.apache.org
> Subject: Stupid virtual host problem..
> 
> 
> I'm trying to set up another virtual host .. here's sample 
> lines from my
> conf file
> 
> <VirtualHost calendar.mysite.com>
> DocumentRoot /usr/local/www/vhosts/mysite/htdocs/calendar
> ServerName calendar.mysite.com
> ServerAdmin webmaster@mysite.com
> HostNameLookups off
> <Directory "/usr/local/www/vhosts/mysite/htdocs/calendar">
>   Options All
>   AllowOverride All
>   Order allow,deny
>   Allow from all
> </Directory>
> </VirtualHost>
> 
> 
> and the regular record..
> 
> 
> <VirtualHost mysite.com>
> DocumentRoot /usr/local/www/vhosts/mysite/htdocs
> ServerName mysite.com
> ServerAlias mail.mysite.com
> ServerAlias www.mysite.com
> ServerAdmin webmaster@mysite.com
> HostNameLookups off
> ScriptAlias /cgi-bin /usr/local/www/vhosts/mysite/cgi-bin
> <Directory "/usr/local/www/vhosts/mysite/htdocs">
>   Options All
>   AllowOverride All
>   Order allow,deny
>   Allow from all
> </Directory>
> </VirtualHost>
> 
> 
> 
> The error I get is:
> 
> > apachectl configtest
> [Tue Jul  9 16:21:51 2002] [error] Cannot resolve host name
> calendar.mysite.com --- ignoring!
> 
> 
> Now, I've set up similar domains in the past this way.. I 
> can't figure out
> why it can't resolve that host name.. can anyone tell me what 
> I am doing
> wrong?
> 
> Thanks,
> Chad
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message