k ive edited my httd.conf file and it dont seem to work what am i doing wrong?
im try to run two name bases site on 1 ip using virtual host..
this is what i followed it was in the httd.conf file.
http://httpd.apache.org/docs/2.2/vhosts/
Code:
NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:80>
ServerName www.site1.com
ServerAlias djleak.com *.site1.com
DocumentRoot www/html/
</VirtualHost>
<VirtualHost *:80>
ServerName www.site2.com
DocumentRoot www/html/vbforum
</VirtualHost>