Apache help
Ed Robbins
ed at erobbins.com
Wed Oct 23 16:11:12 EDT 2002
Here's how it works on mine:
Set the namevirtualhosts to your IP address:
NameVirtualHosts 28.221.30.35
Then make your tater VH the first VH entry
<VirtualHost 28.221.30.35>
DocumentRoot /home/httpd/htdocs/tater
ServerName tater
TransferLog /var/log/httpd/tater
</VirtualHost>
Ed
On Wed, 2002-10-23 at 15:56, pll at lanminds.com wrote:
>
> Hi all,
>
> I have an apache server whichis currently using the VirtualHost
> directive. So far that works great. However, the hostname given to
> it only exists in my local /etc/hosts file.
>
> Is there any way to get this to also answer to the actual IP address
> assigned to my system? IOW, when I hit http://tater I get the pages
> under my VirtualHost directive. yet, when I hit http://28.221.30.35
> I get the "Welcome to Your New Home in Cyberspace!" default apache
> page.
>
> How do I get both the IP and the hostname to show the same page?
>
> Thanks,
>
>
> --
>
> Seeya,
> Paul
> --
> It may look like I'm just sitting here doing nothing,
> but I'm really actively waiting for all my problems to go away.
>
> If you're not having fun, you're not doing it right!
>
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
More information about the gnhlug-discuss
mailing list