Page 1 of 1

newbie need help!

PostPosted: 05. March 2004 00:52
by wayuce
1, i come from china,the only second language is english and it is poor,i do not know if you understand what i am saying,but i will try my best!
2,i have installed xampp,os is winxp pro.it works well.my website can be reached by others.
3,i use adsl ,so my ip is dynamic. to resolve that,i use a third party software--peanuthull.
4,then the problem is here:i have set virtualhost ,somehow like these

NameVirtualHost www.domain.com
<VirtualHost www.domain.com>
ServerAdmin admin@domain.com
DocumentRoot "D:/xampp/htdocs"
ServerName www.domain.com
</VirtualHost>

NameVirtualHost peter.domain.com
<VirtualHost peter.domain.com>
ServerAdmin admin@domain.com
DocumentRoot "d:/xampp/peter"
ServerName peter.domain.com
</VirtualHost>
on my pc,it works well.(i have hosts revised)
but on another pc,i type www.domain.com,it reaches www.domain.com
when i type peter.domain.com,it reaches www.domain.com
i do not know what should i do!
help me please!!!

PostPosted: 05. March 2004 07:14
by karl
do i need peanuthull if im with a cable ?

in the httpd.conf file...

PostPosted: 07. March 2004 18:49
by nigelw
above your virtual host entries add the line
NameVirtualHost *:80