View Single Post
Old 5th April 2013, 03:09
danhansen@denmark danhansen@denmark is offline
Senior Member
Join Date: Mar 2013
Posts: 255
Thanks: 55
Thanked 4 Times in 4 Posts
Exclamation DNS - public or local ip-numbers

Hi Rich,

Thanks for your response. Please notice that I have all the ports open, and forwardet to the server eith the local ipnumber as you describe. I even tried with all ports open and forwardet to mylocalserverip (ex.

The problem was at first that I couldn't reach the default websites at all. Then I tried changing the ip in the dns records to mylocalserverip and then all of the websites works locally but still not from the outside. Please notice that it is the domain which is used for the nameserver I am showing here. The A-record "NS1" is a glue-record as shown in the tutorial:

A mydomain.tld. 0 3600
A mail 0 3600
A ns1 0 86400
A www 0 3600
MX mydomain.tld. mail.mydomain.tld. 10 3600
NS mydomain.tld. ns1.mynameserver.tld. 0 3600
NS mydomain.tld. 3600

Here's proof that the sites works at last! But only locally:

Welcome to your website!
This file may be deleted or overwritten without any difficulty. This is produced........
Powered by ISPConfig

I tried to change the A-record "NS1" to the public static ipnumber ealier on, but changed my mind. But according to your advice it has to be the public ipnumber, so I will change it again right now!! I've been reading the large ISPconfig3 manual for days, but haven't been able to find info regarding this problem..
The changing of ip in the A-record can only be for the "NS1" record, right? Because, as mentioned above, it was the chage from public ipnumbers to local ipnumbers that made the websites work locally!?!

Here's where I got the idea to change from the fixed public ipnumber the local serveripnumber:
or (down the page to: "Setting up email routing to gmail / google apps via ISPConfig 3 >> DNS Zone)

I am looking so much foward to your response - I was really looking forward to programming our new internetshop insted of fighting this config

Kind Regards,
Internet Service Information:
Fast Internet Line/Used only for Internet-Servers.
Static IP
All ports opened in router --> server ip number
Primary nameserver --> ns1.mynameserver.tld
Secondary nameserver --> ns2.somedanishdomainservice.tld

System Information:
Ubuntu Server 10.04
ISPconfig 3 v.
Single Server Setup (running primary nameserver)
Tutorial: The Perfect Server - ISPConfig3 - Ubuntu Server 10.04
Downloaded Manual for ISPConfig3 by Falko Timme
Reply With Quote