Hi, all. I am running an OpenBSD box with 2 nics. I am trying to make Apache to work with 2 sites (site1.com.ar and site2.com.ar). The thing is that if I try to connect from within my network, the only way I have to see these sites is using the addresses given by DynDNS (for example: site1.dyndns.org). From outside the network, nobody can see the sites neither with site1.com.ar or site1.dyndns.org. The things I changed in my httpd.conf file are:
Listen 80
Listen 81
<VirtualHost *:80>
DocumentRoot /var/ServerName ServerAlias site1.com.ar,*.site1.com.ar
</VirtualHost>
<VirtualHost *:81>
DocumentRoot /var/ServerName ServerAlias site2.com.ar,*.site2.com.ar
</VirtualHost>
Any ideas?
Regards,
Pedemonti
Listen 80
Listen 81
<VirtualHost *:80>
DocumentRoot /var/ServerName ServerAlias site1.com.ar,*.site1.com.ar
</VirtualHost>
<VirtualHost *:81>
DocumentRoot /var/ServerName ServerAlias site2.com.ar,*.site2.com.ar
</VirtualHost>
Any ideas?
Regards,
Pedemonti