Topic: Setting up Virtualhost for iredMail
==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version: Debian Squeeze
- iRedMail version and backend (LDAP/MySQL): MySql
- Any related log? Log is helpful for troubleshooting. /
I installed iRedMail on my webserver but my Website is also running on this server, so I need to get the Apache work for both environments.
ATM I can reach my site at: example.com but if I visit www.example.com it won't work anymore (but it did in the past).
So I think I have to set up the virtual host right?
What are the steps to go through?
At first I think I would need to delete the Files in /etc/apache2/conf.d/ ?
Then setting them up again in a nice way, like in /etc/apache2/sites-availibile/?
Ok, if I go through this steps I can't really figure out, what data I need to put in the VirtualHost configuration.
I think there has to be some examples out there? I can't be the only one whos struggling with this right?
Best regards Robin.