|
Hi,
I'm having problems running 2 websites at one IP address, the problem is
that always that i run http://www.company2.com it points me to
the first company website. It was working before when i was managing my DNS in
the same machine, but now our Nameserver is at our ISP. I just dont know what
happened.
My httpd.conf is:
------------------------------------------------------------------------------------------------
NameVirtualHost 196.46.1.90
<VirtualHost 196.46.1.90>
ServerAdmin webmaster@company1.com DocumentRoot /var/www/html/comp1 ServerName www.company1.com ErrorLog logs/www.company1.com-error_log CustomLog logs/www.company1.com-access_log common </VirtualHost> <VirtualHost 196.46.1.90>
DocumentRoot /var/www/html/comp2 ServerName www.company2.com ErrorLog logs/www.company2.com-error_log CustomLog logs/www.company2.com-access_log common </VirtualHost> ------------------------------------------------------------------------------------------------
Please help me!
Any help will be grealy apreciated
Regards,
Arshad
|
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
