Apatchi and virual server

view full story

http://forums.fedoraforum.org – Hi All; I have apatchi (httpd) installed on Fedora, and I am trying to configure the virual server. I have two websites: www.helloonet.com and www.teb4u.com and the machine has one public IP address. The problem that: It always returning the default virual host (even if we typed in the url: www.helloonet.com or www.teb4u.com), it returns the default configured one (which is the first configured virual host). What could be the problem? I have one public address on my machine, and my configuration as following: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html ServerName www.helloonet.com </VirtualHost> <VirtualHost *:80> DocumentRoot /var/www/teb4u ServerName www.teb4u.com </VirtualHost> Actually www.helloonet.com is the one which is used for the global configuration. What could be missed? Any advise? Regards Bilal (HowTos)