Apache question

mike cullerton yellowdog-general@lists.terrasoftsolutions.com
Sat Apr 6 16:15:01 2002


On Saturday, April 6, 2002, at 04:15 AM, Paul Guba wrote:

> Well I am running DNS on the same machine as Apache, it appears to 
> be running fine.  If I am at the server and enter localhost in 
> browser I get the default apache page.  If I enter my hostname I get 
> Domain1 of my virtualhost block.  I am using name based 
> virtualhosting and only have one IP for the server.  If I enter 
> either of the domain names I get nothing.  This is only from within 
> my LAN, if I use my dialup account both load fine using 
> www.mydomain.com.

how can 'both' load fine using 'www.mydomain.com'? do you have one 
domain or two?

what happens when you type 'nslookup www.mydomain.com' at the 
command-line on the server? how about 'ping www.mydomain.com' from 
the server?

if dns isn't the problem, check your apache logs for clues.

> On Friday, April 5, 2002, at 08:41 AM, mike cullerton wrote:
>
>> On Thursday, April 4, 2002, at 08:39 PM, Paul Guba wrote:
>>
>>> Have Apache running on YDL 2.1.  I have a virtual host directive 
>>> sever booth of my domains.  I can load booth domains from outside 
>>> my LAN fine.  While within my LAN I can only connect to one of the 
>>> domains.  This is of course the first in the virtual host 
>>> directive.  Now I think I may need a host alias but not sure the 
>>> documentation on this is not to clear to me.  Presently if I type 
>>> in 	http:
>>> //hostname in my browser I get the first domain.  I get nothing if 
>>> I put in the domain names.
>>>
>>
>> are you saying that from outside your lan, you can reach 
>> www.domain1.com and www.domain2.com but that you can _not_ reach 
>> those same addresses from inside your lan?
>>
>> is this a dns issue? are you using the same ip address for each 
>> domain? what happens when you try from the server itself?
>>
>> _______________________________________________
>> yellowdog-general mailing list
>> yellowdog-general@lists.terrasoftsolutions.com
>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>>
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general