Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 43295

Problem: Apache Virtual Hosts & iRedMail 0.8.3 ??

$
0
0

==== ==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 6.0 'Squeeze'
- Related log if you're reporting an issue:
====

Hi everybody,

I'm testing iRedMail and it's incredible how fast you can set up a fully featured mail server with this!

But, I've a problem, i've two domains, one server with one ip, and i need apache virtual hosts working... after installing iRedMail 0.8.3, my virtual hosts stop working, i get this when I restart apache:

Restarting web server: apache2[Sun Mar 10 00:05:37 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
 ... waiting [Sun Mar 10 00:05:38 2013] [warn] NameVirtualHost *:80 has no VirtualHosts

This is my /etc/apache2/httpd.conf

NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin webmaster@domain1.com
    DocumentRoot "/var/www/domain1.com"
    ServerName www.domain1.com
    ServerAlias domain1.com
    ErrorLog "/var/log/domain1.com-error_log"
    CustomLog "/var/log/domain1.com-access_log" common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin webmaster@domain2.com
    DocumentRoot "/var/www/domain2.com"
    ServerName www.domain2.com
    ServerAlias domain2.com
    ErrorLog "/var/log/domain2.com-error_log"
    CustomLog "/var/log/domain2.com-access_log" common
</VirtualHost>

If i type www.domain1.com in my web browser, i only get a blank page.

Thank you for your help!!


Viewing all articles
Browse latest Browse all 43295

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>