apache 2 help

Associate
Joined
18 Oct 2002
Posts
2,261
Location
Kidderminster
Hi,

running apache on centos 4.3, main site is up and running fine in /var/www/html

How would i go about adding another site but on a specefic port?

so far i've added this to the bottom of my httpd.conf file:-

<VirtualHost *:20000>
DocumentRoot /www/vhost1
ServerName www.deano.test
</VirtualHost>

but i dont get anything displayed in a browser on the servers ip address and that port :(

what am i doing wrong? never really used apache so trying to learn but getting fed up with it at the moment.

Cheers
Deano
 
hi,
cheers for the information it's working, just got password protection to sort out now.

cheers
deano
 
Back
Top Bottom