Topic: Domain name is wrong

I installed iRedMail on a new server wanting it to host a domain   xyz.com .. I guess I messed up because the dns was pointing to mail.xyz.com .. So that's what I entered in the setup.   So no red mail only responds to mail.xyz.com not xyz.com.  Is there any easy way to fix this or this reinstall time ?