yogee
08-12-2001, 02:20 PM
Im a bit confused on the ip thing. The box has a private local static ip. Does the ip need to be my public ip? If so what happens when it changes? Does NameVirtualHost 12.34.56.78 ip have to be the same as <VirtualHost 111.22.33.44>?
I went to http://members.dyndns.org/ and setup 2 names and sent them to my public ip and now when i go to those names i get the default server page for both.
NameVirtualHost 12.34.56.78
<VirtualHost 111.22.33.44>
ServerName www.ggggggg.dyndns.org (http://www.ggggggg.dyndns.org)
DocumentRoot /home/www.ggggg.com/www
</VirtualHost>
<VirtualHost 111.22.33.44>
ServerName www.hhhhhhhhhh.dyndns.org (http://www.hhhhhhhhhh.dyndns.org)
DocumentRoot /home/www.hhhhhhhhh.com/www
</VirtualHost>
I changed all the address's to my public ip and the domains still resolve to the apache default page. I get this error when restarting apache too. Starting httpd: [Sun Aug 12 02:36:36 2001] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
[ 12 August 2001: Message edited by: yogee ]
I went to http://members.dyndns.org/ and setup 2 names and sent them to my public ip and now when i go to those names i get the default server page for both.
NameVirtualHost 12.34.56.78
<VirtualHost 111.22.33.44>
ServerName www.ggggggg.dyndns.org (http://www.ggggggg.dyndns.org)
DocumentRoot /home/www.ggggg.com/www
</VirtualHost>
<VirtualHost 111.22.33.44>
ServerName www.hhhhhhhhhh.dyndns.org (http://www.hhhhhhhhhh.dyndns.org)
DocumentRoot /home/www.hhhhhhhhh.com/www
</VirtualHost>
I changed all the address's to my public ip and the domains still resolve to the apache default page. I get this error when restarting apache too. Starting httpd: [Sun Aug 12 02:36:36 2001] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
[ 12 August 2001: Message edited by: yogee ]