Home Forums OS X Server and Client Discussion DNS getting Domain name to point to server

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #372894
    harveyDOV
    Participant

    Hi,

    I have set up a test 10.5.2 server at home. I have a static IP address of which on an external 3g data card i can enter my static IP address and see the website hosted on the server.

    I have a domain name hosted through enom.com where I have created two ns records, ns1.domain.com and ns2.domain.com both pointing to the same static IP address. I have then set the dns for the domain to the ns1/2.domain.com. If I run a lookup on the ns1/2.domain.com on network-tools.com it resoves the correct IP address.

    When I access domain.com in the browser, I get Address not found. Am I just being impatiant or is there another step I need to complete?

    #372900
    khiltd
    Participant

    Did you create an A record for domain.com or just NS records?

    #372955
    DoubleD
    Participant

    [quote]When I access domain.com in the browser, I get Address not found. Am I just being impatiant or is there another step I need to complete?[/quote]

    Is Apache running and configured? Does a test page appear when visiting either http://localhost or http://127.0.0.1 from the server?

    #372963
    harveyDOV
    Participant

    Well after all this time since updating the DNS my situation remains as the following:-

    Internally:-

    http://www.domain.com is ok
    – server.domain.com is ok
    – Server IP address OK.

    Externally :-

    http://www.domain,com NOT ok
    – domain.com NOT ok
    – nameserver.domain.com has worked, but not now
    – Static IP Address always works

    I’m still confused about it all!!! Router must have correct ports open to be able to access it via the static IP so it’s a problem with what I have done on enom or with the DNS on the server! What is the best way to set up the DNS on the server e.g. current setup:-

    Primary Zone – domain.com.
    Machine Name advandced.domain.com. –> Internal IP
    Alias – domain.com. –> advandced.domain.com.
    Alias – http://www.domain.com. –> advandced.domain.com.

    I have has the two alias’ set up as A records as well as CNAME’s. Whats the best way, should I add anything else?

    #372980
    DoubleD
    Participant

    One thing I would then suggest is to run the dig command from a terminal session both from the server and externally. In the returned results, do non-routable ip addresses appear?

    Non-routable ips would be in the ranges of:
    10.0.0.0 – 10.255.255.255
    172.16.0.0 – 172.31.255.255
    192.168.0.0 – 192.168.255.255

    Example output of dig command:

    [code]$ dig afp548.com

    ; <<>> DiG 9.4.1-P1 <<>> afp548.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28034 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3 ;; QUESTION SECTION: ;afp548.com. IN A ;; ANSWER SECTION: afp548.com. 300 IN A 66.253.230.121 ;; AUTHORITY SECTION: afp548.com. 40356 IN NS ns3.domaindirect.com. afp548.com. 40356 IN NS ns1.domaindirect.com. afp548.com. 40356 IN NS ns2.domaindirect.com. ;; ADDITIONAL SECTION: ns1.domaindirect.com. 27741 IN A 216.40.47.70 ns2.domaindirect.com. 27741 IN A 64.97.159.12 ns3.domaindirect.com. 40019 IN A 65.22.7.12 ;; Query time: 69 msec ;; SERVER: 10.0.0.2#53(10.0.0.2) ;; WHEN: Mon Jun 2 09:24:11 2008 ;; MSG SIZE rcvd: 159 [/code] If so, those addresses need to be changed to use your external address(es).

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed