Hi Ron, I may be the wrong guy to ask since I just started playing with Apache a week ago... The apache website is does an impressive job with documentation and is an excellent reference. http://httpd.apache.org/docs/2.0/vhosts/name-based.html But try this for starters. NameVirtualHost 69.110.41.144 <VirtualHost *:80> DocumentRoot "/usr/local/apache2/htdocs/" ServerName turon.photos.com # other directives go here </VirtualHost>
-----Original Message-----
From: Ron Larson [mailto:[EMAIL PROTECTED]
Sent: Wed 12/21/2005 9:43 PM
To: [email protected]
Cc:
Subject: Re: [EMAIL PROTECTED] using 127.0.0.2 for ServerName?
Arthur,
Could you please write a single name VirtualHost script for
hostname is turon-photos.com
IP address is 69.110.41.144
I am still confused. Sorry for being so slow
Thank you
Ron
--- Arthur DiSegna <[EMAIL PROTECTED]> wrote:
> Hello, (I aplogize if this is not in text mode. I am using OWA)
>
> I setup my conf file to use name based virtual hosting. I have a
single IP
> bound to the interface hosting two websites. When I start apache in
debug
> mode I get this error. I added two host records vhost1 and vhost2 to
point to
> 192.168.0.1 on my internal DNS for testing (host headers). From
inside the
> network I can ping the FQDN vhost2.mydomain.com & vhost1.mydomain.com.
>
> ERROR: httpd: Could not determine the server's fully qualified
domain name,
> using 127.0.0.2 for ServerName
>
> Here is a cut out of the setup.
>
> NameVirtualHost 192.168.0.1
> <VirtualHost 192.168.0.2>
> DocumentRoot "/var/webroot/pw/"
> ServerName vhost2.mydomain.com
> </VirtualHost>
>
> <VirtualHost 192.168.0.1>
> DocumentRoot "/var/webroot/enc/"
> ServerName vhost1.mydomain.com
> <Location /ISSX>
> Options Indexes FollowSymLinks
> AllowOverride None
> Order deny,allow
> Allow from all
> </Location>
> </VirtualHost>
>
> Thanks in advance
>
> >
---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
Sincerley,
Ron Larson
email: [EMAIL PROTECTED]
cell: (408) 981-4440
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<<winmail.dat>>
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
