The following guide describes the steps to add DNS records that route emails from a domain managed in ISPConfig 3 to google apps / gmail. The guide assumes that you have already setup the dns zone for your domain in ispconfig.
Login to ISPConfig, click on the DNS module icon in the upper navigation bar, then open the settings of the DNS zone that you want to redirect to google and click on the "records" tab. You should see a record list similar to this:
Now Delete the existing MX record and the "mail" A-Record. Then add the following new records:
example.com. ASPMX.L.GOOGLE.COM. 10
example.com. ALT1.ASPMX.L.GOOGLE.COM. 20
example.com. ALT2.ASPMX.L.GOOGLE.COM. 30
example.com. ASPMX2.GOOGLEMAIL.COM. 40
example.com. ASPMX3.GOOGLEMAIL.COM. 50
IMPORTANT: All full domain names like "ghs.google.com." have to end with a dot, if the dot is missing, the name is treated as subdomain of the zone.
The resulting record list should look like this:
By default, your Windows system gathers all information on your connections automatically so that it works out of the box when you plug in your LAN wire or put on your router or hotspot. The subnet and gateway are detected and you are given one of the free local IPs and your provider's DNS Server.
That works really good in most cases but in working environments or during LAN parties etc. you will most likely need a static local IP so you don't conflict with other machines in the network and your IP stays the same even after restarting the router or unplugging the system. To configure a static local IP, first find out what network data you currently use.
To do that, open the start menu and type cmd. In the command line interface, enter
You will be shown your current IP, the subnet mask and the gateway:
Leave the command line window open since you will need those data if you don't know them by heart.
Next, open the Control Panel. Click View network status and tasks:
You will be shown your active network here. Click on the on you are currently using:
On the window that appears, click on Properties:
Select Internet Protocol Version 4 (TCP/IPv4) and click Properties again:
This is the place where you configure your IP properties. Select Use the following IP address and enter the free IP that you want to use (that can be the address you were already using since you now know that it isn't used by any other machine in the network). Enter the subnet mask and the gateway you were shown in the command line:
By not obtaining the IP address automatically you also are deprived of the option to obtain the DNS servers automatically. You now have to enter a primary and secondary DNS Server of your choice - I use Google's servers here (DNS servers are there to kind of translate domains like example.com into IP addresses, so you are displayed the correct websites upon entering their domain in a web browser - there are public DNS servers offered like the ones I use above; feel free to take the same of look for others).