Topic: running webserver + iredmail

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

I am trying to setup a VPS that will host a email server to manage emails and a web server to handle the a small wordpress website.

I am not sure how my /etc/hosts file should be set up to make this work correctly. Please help, currently my hosts file looks like this: localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment. netlings.co.in  netlings
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6


Re: running webserver + iredmail

1) get your FQDN hostname with command "hostname -f".
2) list this FQN hostname as first hostname in line " xxx". For example: your_fqdn_hostname localhost.localdomain localhost localhost4.localdomain4 localhost4


Does my reply help a little? How about buy me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee