hm...i have a question here ...
i found on net a similar code with the one gived by jojo
Code:
Listen 80
NameVirtualHost *
<VirtualHost *>
ServerName www.domain.com
DocumentRoot /home/httpd/htdocs/
</VirtualHost>
<VirtualHost *>
ServerName subdomain.domain.com
DocumentRoot /home/httpd/htdocs/subdomain/
</VirtualHost>
and i'm sure that it's gonna work ...
but now a noomb question

.... where do i paste this code in httpd.conf ?
The begining of my httpd.conf looks like this ( i won't paste all file it's to large ) :
Code:
Listen 80
ServerRoot "/www/Apache2"
DocumentRoot "/www/webroot"
ServerName localhost:80
ServerAdmin admin@localhost
ServerSignature On
ServerTokens Full
DefaultType text/plain
AddDefaultCharset ISO-8859-1
Can anybody show me how should i modify the file ?
That's all

Thanq
ps : and another noomb question

.... witch of this two codes is better ?
Recent comments
8 hours 20 min ago
17 hours 48 min ago
18 hours 37 min ago
22 hours 11 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 5 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 21 hours ago