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