RE: [users@httpd] using 127.0.0.2 for ServerName?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:rlarson43@xxxxxxxxx] 
	Sent: Wed 12/21/2005 9:43 PM 
	To: users@xxxxxxxxxxxxxxxx 
	Cc: 
	Subject: Re: [users@httpd] 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 <adisegna@xxxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
	>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
	> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
	
	
	Sincerley,
	Ron Larson
	email: rlarson43@xxxxxxxxx
	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: users-unsubscribe@xxxxxxxxxxxxxxxx
	   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
	For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
	
	

<<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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux