View Single Post
  #6  
Old 14th May 2007, 02:52
Ashaman074 Ashaman074 is offline
Junior Member
 
Join Date: May 2007
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Unhappy

Thanks for the reply and confirming that

As you can see in my file, the first section is:

NameVirtualHost 10.0.0.1:80
<VirtualHost 10.0.0.1:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>

So that is correct, right?

But then, later it had the lines:

<VirtualHost 10.0.0.1:80>
ServerName www.thelawrencebarn.com:80

This is where things broke down and didn't work properly until I changed it to:

<VirtualHost *>
ServerName www.thelawrencebarn.com

Then it seemed to work properly. I do not know why this is. Unfortunately, the first section still does not seem to work properly, as typing the server's IP into a web browser does not bring up the "sharedip" page. It lists the directory contents instead. Any other ideas?

I am wondering if I should just abandon this whole path, as the idea was to simplify things; but it is turning into a diversion from the project at this point, and I don't know what else to try.

Also - IFConfig does list 10.0.0.1.

Thanks!
Reply With Quote