View Single Post
  #23  
Old 22nd June 2007, 14:55
Dutzzu Dutzzu is offline
Junior Member
 
Join Date: May 2006
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to Dutzzu Send a message via MSN to Dutzzu Send a message via Yahoo to Dutzzu Send a message via Skype™ to Dutzzu
Default

tks for help falko

i have a new question now: if i want to host 2 domains on a single server, what do i have to change in httpd.conf ?!? just paste a code similary like that for virtual host ?!?
smt like this ( if i have dutzzu.ro, and now i want to add another domain - example.ro )

Code:
Listen 80
NameVirtualHost *

<VirtualHost *>
  ServerName dutzzu.ro
  DocumentRoot /www/webroot
</VirtualHost>

<VirtualHost *>
 ServerName example.ro
DOcumentRoot /www/webroot/example.ro
</VirtualHost>

Is this corect ? or i have to past smth else ( another code ) somwhere else ?
Reply With Quote