Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

OSX Server Website DNS problems

I wanted to have a server so I decided to get the mac mini server. We want to set up a small website with simple web services running on python and ruby.


Now I'm trying to set it up to have a website connected to our domain (olm.io), but the domain name doesn't forward to the mac mini server.


I believe the server is set up correctly. The router is set up to port forward incoming connections on port 80 to the server. To test that, connections to the ip 190.160.227.68 retrieves the server and shows up the test website.


I entered our ISP dns servers and also set up a dns server on the osx server.


From outside this shows from outside:


$ dig www.olm.io


; <<>> DiG 9.9.2-P1 <<>> www.olm.io

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 20417

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1


;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 512

;; QUESTION SECTION:

;www.olm.io. IN A


;; Query time: 2431 msec

;; SERVER: 8.8.8.8#53(8.8.8.8)

;; WHEN: Thu Jan 9 14:54:03 2014

;; MSG SIZE rcvd: 39


From inside the network this shows up:


$ dig www.olm.io


; <<>> DiG 9.8.3-P1 <<>> www.olm.io

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27239

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0


;; QUESTION SECTION:

;www.olm.io. IN A


;; ANSWER SECTION:

www.olm.io. 10800 IN A 192.168.0.10


;; AUTHORITY SECTION:

www.olm.io. 10800 IN NS www.olm.io.


;; Query time: 3 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Thu Jan 9 11:54:25 2014

;; MSG SIZE rcvd: 58


Also checking the hostname says its ok:


$ sudo changeip -checkhostname


Primary address = 192.168.0.10


Current HostName = www.olm.io

DNS HostName = www.olm.io


Ok so from the inside of our network the website shows up, and from outside when looking at the public ip of the network the website also shows up.

What I'm missing is that when anybody types www.olm.io our website appears.


At one time I tried setting up Google public dns service, just to try it, but now it seems to be stuck referring to google 8.8.8.8 server,


$ nslookup 190.160.227.68

Server: 8.8.8.8

Address: 8.8.8.8#53


Non-authoritative answer:

68.227.160.190.in-addr.arpa name = pc-68-227-160-190.cm.vtr.net.


Authoritative answers can be found from:


$ nslookup www.olm.io

Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find www.olm.io: NXDOMAIN


I believe the problem is on the domain set up, which is as follows:


Registrar
Organization Name :NIC.io
Primary Nameserver
Name Server:ns00.olm.io
IPv4 Address:190.160.227.68
Secondary Nameserver
Name Server:ns00.vtr.net
Extra Nameservers (Optional)
Name Server:ns01.vtr.net


User uploaded file

screen of the dns setup


Thanks for the help

Mac mini, OS X Mavericks (10.9.1), OSX Server 3.0

Posted on Jan 9, 2014 7:32 AM

Reply

There are no replies.

OSX Server Website DNS problems

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.