LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VirtualHosts & apache 2.0.48 (http://www.linuxquestions.org/questions/linux-networking-3/virtualhosts-and-apache-2-0-48-a-204165/)

TiCkO 07-12-2004 01:57 PM

VirtualHosts & apache 2.0.48
 
Hello. I have a little problem about VirtualHost and NameVirtualHost.

Let`s start.

I have web server and i am hosting some site, and this site has domain name. Domain is resolved to my IP, and now i must make a vhost in my config. That this domain has being redirectet to the folder of this web site.

When i add vhost in config, is all cool. But my own page with other domain not working (opens this site (first domain)).

Then i define VirtualHost with NameVirtualHost and add also my domain name, and nothing happened. If i typed first domain, or my domain opens the same page. why?

and sry for my bad english :(

ppuru 07-12-2004 09:58 PM

run

#/usr/sbin/httpd -S

to check whether there are problems with your vhosts definition.

TiCkO 07-13-2004 03:20 PM

the problem is solved. thanks for help!


All times are GMT -5. The time now is 01:21 AM.