[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

setting virtual hosts with apache



Hi all,
It seems that configuring virtual hosts not so easy for me :(
The one problem is that after adding virual stuff to httpd.conf
for new_host.some_domain, I got lost my old_host.some_domain. I mean that
looking from outside at both OLD and NEW  addresses one can see only
new_host's pages. 

These strings was added to default httpd.conf file (from hamm).

<VirtualHost new_host.some_domain>
ServerAdmin webmaster@box.am
DocumentRoot /var/www/vhosts/radiovan/
ServerName new_host.some_domain
ErrorLog /var/log/apache/new-error.log
TransferLog /var/log/apache/new-access.log
</VirtualHost>

Is something wrong in this configuration?

The new_host also set in /etc/hosts as alias for original
hostname.

Another problem is thet putting  two virtual host's parameters
in httpd.conf cause warning after reloading apache. 
(Overlapping of two virtualhosts....)

Would be thankfull for any tips,

Eugene Sevinian

----------------------------
CRD, YerPhI, 375036, Armenia
URL: http://crdlx5.yerphi.am/
Phone: 374-2-344873


Reply to: