joined:Mar 24, 2005
I have two FreeBSD servers.
Server 1 is DNS.
Server 2 is Apache.
I have a public sub-domain as I have pointed to my public IP address (A record) and made NAT from ZyXEL NBG4615 router on port 53 and 80 to server 1
I have created a zone file on server 1, and when I do nslookup I get the local IP address of the server 2 return.
I've tried to do NAT on port 80 directly into the server 2 It works without problems.
And when I from a PC on the network, manually place the server 2 as DNS and do nslookup again so I can see the call server 1 and returns Server 2's IP address.
When I type sub-domain name I am sent to my public IP address. Then I hit server 1 And then it has to send me to the server 2 (because it is in the zone file). But it does not.
I turned off all firewall's from, but without success.
What remains for me to do, or what have I done wrong?