• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Help: how to add 2domains in 1 server ?

aki

Contents: Adult
NLC
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
 
Back
Top