Posted by:
nateharper
(---.cable.mindspring.com)
i inserted what you gave me into the httpd.conf file so it looked like this at the very end:
#
# Use name-based virtual hosting.
#
#NameVirtualHost *:80
#
# 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>
# ServerAdmin
webmaster@dummy-host.example.com# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName sub1.domain.com
DocumentRoot e:/wamp/www/sub1
</VirtualHost>
<VirtualHost *:80>
ServerName sub2.domain.com
DocumentRoot e:/wamp/www/sub2
</VirtualHost>
<VirtualHost *:80>
ServerName sub3.domain.com
DocumentRoot e:/wamp/www/sub3
</VirtualHost>
Include "e:/wamp/apache2/conf/alias/phpmyadmin.conf"
Include "e:/wamp/apache2/conf/alias/sqlitemanager.conf"
did i do it right or am i just not going to the right url when i test it our? i tried going to sub3.domain.com but it just said that page couldnt be found.
i am just running it on my personal computer with a dynamic ip. is this a problem or do i need to tell windows to look at the server to find it or what?
if i enter in my computer ip (192.168.1.6) it will go to an index of the sub1.domain.com
please help me.
thank you
Post Edited (10-15-06 19:20)