Email and website on different servers

April 19, 2008 – 10:44 am

When a client want to get email from other server you need to change MX (change from WHM/Edit a DNS Zone not from cPanel)

1. In DNS Zone do that:

domain.com. 14400 IN MX 0 any.domain.com.

2. Add new entry

any.domain.com. 14400 IN A 123.123.123.123

Change last figure of Serial Number and click Save. Restart Bind

3. Make a ssh connection and remove the domain name from /etc/localdomains

Add the domain name in /etc/remotedomains

Restart Exim

You need to wait aprox. 4 hours to work

 

If the domain name are pointed to Email server and from there are redirected the www do that:

1. Remove the DNS Zone from WHM

2. Make a ssh connection and remove the domain name from /etc/localdomains

Add the domain name in /etc/remotedomains

Restart Exim 

  1. 1 Trackback(s)

  2. Jul 6, 2010: HENRY

You must be logged in to post a comment.