Link to home
Start Free TrialLog in
Avatar of systemsautomation
systemsautomationFlag for Pakistan

asked on

Email & Domain Name

I have registered a domain name e.g. www.abc.com for my server having ip lets say 111.111.111.111 which is running Fedora Core 8

The server is running Apache only. For my website which is hosted on my server I just have to type the domain name in my browser. But my server does NOT contain any mail server and I don't want to run any.
I already have another mail server obviously with a different IP.

I want to send my webpage traffic to my new server (with apache) and mail like (info@abc.com) to the other one.

Please guide me how to do this.

I am quite a beginner so please describe everything in detail.
Avatar of Kamran Arshad
Kamran Arshad
Flag of Pakistan image

Hi,

You need to change the MX record of your domain "www.abc.com" to point to your mail server. Say for example your web server has IP address "111.111.111.111" and your mail server has IP address "111.111.111.112". Now you have to edit the zone file of your domain "www.abc.com" and add the below entries:

mail         IN     A       111.111.111.112
IN     MX     10     mail.abc.com.


The above two lines will send all mails to your mail server.
ASKER CERTIFIED SOLUTION
Avatar of agriesser
agriesser
Flag of Austria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do you have these server behind a router that has a static ip address , but the Servers (Email and Webserver ) is not internal IP's

If so what type of router do you have, so that I can help you to do the NAT translation.

Regards D ;)