Hi guys ....Thanks for any help on advance....
I have Linux RedHat 6.1 and Apache 1.3.14..mod_perl/1.24-01
I am trying to run 3 name-based virtual hosts on my machine that is a
standlone machine
I have 3 files in my /usr/local/apache/conf/httpd.conf directory ....
virthost1.conf, virthost2.conf, and virthost3.conf
The server names are the same as the virtual hosts respectively
....virthost1 , virthost2 , virthost3
In my /etc/hosts file i have 2 lines:
127.0.0.1 localhost vlnx1
10.1.1.10 orion virthost1 virthost2 virthost3
### the machine name is orion.
As you would agree with me in this case we are not using the DNS to resolve
the virtualhost name through the same IP address which is 10.1.1.10 ...
rather we are supposed to count on /etc/hosts file ..... and on host.conf
file
my host.conf files has 2 lines:
order host,bind
multi on
Here is the problem ....
If i am trying to run the Virtual host virthost1 and I enter in NN browser
"virthost1" i am getting error the server was not found
but if I enter just orion ( the machine name ) then I get the contains of my
virthost1 all the time.
thanks a lot