Apache question

Paul Guba yellowdog-general@lists.terrasoftsolutions.com
Sun Apr 7 13:45:01 2002


Well I can load both from outside my LAN with www.mydomain1.com and 
www.mydomain2.com with no problems.  I am having a DNS issue but not 
sure it is related.  I can ping the server via hostname or 
hostname.mydomain1 no problem.  if I ping just my domain1 I get 
nothing.  I cannot ping www.mydomain1.com from within my LAN.  
Hostname.domain1.com is the Name Server.  I can however ping 
www.mydomain2.com.  Nslookup is virtually the same.  So not sure what is 
going on here.  Getting back ot Apache it will only serve the first 
domain in the virtual host regardless of name from within my local 
network.  I reversed the order so the naming has nothing to do with it.


On Saturday, April 6, 2002, at 06:14 PM, mike cullerton wrote:

>
> 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
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>