1

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:
127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment.
192.30.32.17 netlings.co.in  netlings
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

2

Re: running webserver + iredmail

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

127.0.0.1 your_fqdn_hostname localhost.localdomain localhost localhost4.localdomain4 localhost4