hi, i have apache2.0 in winxp and i can't figure it out how to add 2 diffirent domains in 1 server/computer so they can enter diff. folder.
i tried but when i enter www.Bdomain.info and it enters the www.Adomain.info and i don't want to do that, i want them enter diff. folder cause they are not the same site
here is my test code:
#-------------- www.viettalk.info -------------
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /www/viettalk
ServerName www.viettalk.info
ServerAlias viettalk.info *.viettalk.info
ErrorLog logs/viettalk.info-error_log
CustomLog logs/Viettalk.info-access_log common
</VirtualHost>
#-------------- www.5starshost.info -------------
<VirtualHost *:80>
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/5starshost/"
ServerName www.5starshost.info
ServerAlias 5starshost.info *.5starshost.info
ErrorLog logs/5starshost.info-error_log
CustomLog logs/5starshost.info-access_log common
</VirtualHost>
i just can't figure this stupid config stuff. or maybe its not possible
:confused4
i tried but when i enter www.Bdomain.info and it enters the www.Adomain.info and i don't want to do that, i want them enter diff. folder cause they are not the same site
here is my test code:
#-------------- www.viettalk.info -------------
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /www/viettalk
ServerName www.viettalk.info
ServerAlias viettalk.info *.viettalk.info
ErrorLog logs/viettalk.info-error_log
CustomLog logs/Viettalk.info-access_log common
</VirtualHost>
#-------------- www.5starshost.info -------------
<VirtualHost *:80>
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/5starshost/"
ServerName www.5starshost.info
ServerAlias 5starshost.info *.5starshost.info
ErrorLog logs/5starshost.info-error_log
CustomLog logs/5starshost.info-access_log common
</VirtualHost>
i just can't figure this stupid config stuff. or maybe its not possible
:confused4