Okay,... solved, and I didn't supply enough info to the list.
The problem was that this server is behind a firewall and the actual IP
is a local IP. Once I set a NameVirtualHost to the local IP, changed the
to use it, then reload the apache config.. all worked
correctly.
Thanks,
Donovan
Try with nmap , or with telnet 80
Stefan Pielmeier
from mobile device
On 9 Sep 2013, at 17:01, lists wrote:
> On 9/9/13 5:52 AM, Eric Covener wrote:
>> On Sun, Sep 8, 2013 at 11:38 PM, lists wrote:
>>>
>>> DocumentRoot /var/www/maindomain.com/restsites
>>>
>>> DocumentRoot
On 9/9/13 5:52 AM, Eric Covener wrote:
On Sun, Sep 8, 2013 at 11:38 PM, lists wrote:
DocumentRoot /var/www/maindomain.com/restsites
DocumentRoot /var/www/maindomain.com/restsites
to be root if I type "www.firstvhost.com" or "www.secondvhost.com" in the
browser. Can someon
On Sun, Sep 8, 2013 at 11:38 PM, lists wrote:
>
> DocumentRoot /var/www/maindomain.com/restsites
>
> DocumentRoot /var/www/maindomain.com/restsites
> to be root if I type "www.firstvhost.com" or "www.secondvhost.com" in the
> browser. Can someone point me where I'm going wrong?
On 9/8/13 11:07 PM, Yehuda Katz wrote:
apache2ctl -S
Thanks, Yes, it's listening:
000.000.000.28:80 is a NameVirtualHost
default server firstdomain.com
(/etc/apache2/sites-enabled/edcmeals-conf:11)
port 80 namevhost firstdomain.com
(/etc/apache2/sites-enabled/edcmeals-conf:11)
Ubuntu moves some of the configuration around in the default installation,
so you need to make sure you are putting things where it expects if you
installed from apt.
The first thing to check is if apache is listening for those vhosts. Look
at the output of `apache2ctl -S` for your vhosts (you mig
Hello,
I'm having a problem matching virtual hosts.
I am using this reference:
http://httpd.apache.org/docs/2.2/vhosts/examples.html
(Specifically the part: "Name-based hosts on more than one IP address.")
An example (snippet) of my config (ubuntu 12.04) is: