Configuring DNS for Primary Servers In Multi-Server Setup
I have read many of the howto documents regarding multi-server and DNS server setup, but none of them are clear on configuring DNS records for these primary servers.
The DNS servers are working fine and I have setup the DNS records at my hosting provider. I have created websites on my multi-server setup and they are working fine.
Here is where I have trouble, say I have the following primary servers setup in my configuration:
web.server.com - 22.214.171.124
db.server.com - 126.96.36.199
mail.server.com - 188.8.131.52
git.server.com - 184.108.40.206
ns1.server.com - 220.127.116.11
ns2.server.com - 18.104.22.168
In ISP Config 3, what DNS records are needed to do the following:
(1) Create records to access web.server.com via https://www.server.com:8080 instead of https://22.214.171.124:8080
(2) Create records that will make use of db.server.com as well as 126.96.36.199.
(3) Create records that will allow me and my clients to access my mail server like this https://mail.server.com. I don't even think the server is setup properly to access webmail via https://188.8.131.52, but that information was not provided in the howto documentation.
(4) Create records that will allow me to access my git server via git.server.com instead of 184.108.40.206.
These are the howto documents that I referred to during the multi-server setup, and I am unable to complete the setup with the information provided:
Is there someone who can help me complete this setup?
Thanks in advance...
Step 1 - Add a zone for server.com
Step 2 - Click on the new zone and add an A record for each host.
Example for the host web.server.com (A record dialog):
Ip Address: 220.127.116.11
Server Now Working! Nice!
Thank you pititis...
That worked perfectly. I entered A records for mail, db, web, git, and also ns1, and ns2.
Maybe the problem was that I did not add A records for ns1 and ns2? I thought that was taken care of on the side of my host?
After entering the A records, I entered a CNAME record for www to web. Now I can do https://www.server.com:8080...
ONE MORE QUESTION:
When creating a new website and new DNS records, how do I correctly point the user's site to mail.server.com?
Example: I create a domain for client.com. What will the DNS records look like for their email?
Example for the domain client.com (MX dialog):
Mailserver hostname: mail.server.com.
(please note the dots)
However I like to use mail.client.com, it's easy for the customers. It's easy to remember and easy when configure the email software. If you want to use this, add an A record for mail pointing to the mail server ip and a MX record pointing to mail.client.com.
Something is not quite right.
Thanks again for taking the time to reply to my question. This time, the solution didn't work. Now, I don't know whether that's due to improper configuration or that there is an issue with the mail server. ISP Config 3, says all green and that everything is good with the mail server.
Here is my configuration for client.com:
A Record for website:
A Record for mail:
A record for www:
MX record for mail:
Do you recognize any issues with the configuration? Recommendations?
What is in your mail.log?
This is my mail log, and it appears that it's refusing the connection?
Jan 27 03:32:52 mail postfix/pickup: 210D5363C40E: uid=0 from=<root>
Jan 27 03:32:52 mail postfix/cleanup: 210D5363C40E: message-id=<20130127033252.210D5363C40E@mail.server.com>
Jan 27 03:32:52 mail postfix/qmgr: 210D5363C40E: from=<email@example.com>, size=1151, nrcpt=1 (queue active)
Jan 27 03:32:52 mail postfix/smtp: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jan 27 03:32:52 mail postfix/smtp: 210D5363C40E: to=<firstname.lastname@example.org>, orig_to=<root>, relay=none, delay=0.04, delays=0.03/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jan 27 03:35:01 mail dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jan 27 03:35:01 mail dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jan 27 03:35:01 mail postfix/smtpd: connect from localhost[127.0.0.1]
Jan 27 03:35:01 mail postfix/smtpd: lost connection after CONNECT from localhost[127.0.0.1]
Jan 27 03:35:01 mail postfix/smtpd: disconnect from localhost[127.0.0.1]
Jan 27 03:39:06 mail postfix/qmgr: 210D5363C40E: from=<email@example.com>, size=1151, nrcpt=1 (queue active)
Jan 27 03:39:06 mail postfix/smtp: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
I found my mistake... I checked the "Disable POP3 checkbox" after mistaking it for being an enable control option. I guess I can blame it on being tired after a full day of server configuration work, and not taking the time to read carefully. :)
Thank you for your help!
:) Glad to help you
|All times are GMT +2. The time now is 19:54.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.