Hi how to configure DNS

Discussion in 'Installation/Configuration' started by martin_rudowicz, Jun 19, 2008.

  1. martin_rudowicz

    martin_rudowicz New Member

    Hi i have truble to configure DNS on ISPConfig

    I realy dont know how to do it
    my domain is test.pl
    outside ip 89.228.199.170
    server ip 192.168.0.100


    ....
    now klik DNS Manager then on left menu test.pl
    Domain
    Server - Server 1
    Domain (SOA): test.pl
    IP Address: 192.168.0.100
    Option
    Admin Email: dfsdfs@test.pl
    Nameserver 1: ns1.test.pl
    Nameserver 1: ns2.atomdns.net

    Records
    A Records
    IP-Adresse Hostname
    192.168.0.100 www
    but did somoene tell how should look else

    what i should see on for example
    CNAME

    Hostname Target

    Mailserver Hostname
    www.test.pl
    mail.test.pl
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This looks all fine. Are you sure that your local dns server is authoritive for the domain? Also make sure, that you use external and not internal IP addresses in the dns settings.
     
  3. biobrew

    biobrew New Member

    I'm having similar problems. I'm using an external IP Address though.

    How do you make your local dns server an authoritive for the domain? Not sure what you mean there.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. biobrew

    biobrew New Member

    I used that guide step by step before setting up the perfect server set up with debian etch (which went very well as a copy and paste server set up) before setting up ispconfig and making a new site.

    Here are some debug outputs from my server:

    dig:

    Code:
    server1:/home/admispconfig/ispconfig# dig @localhost safetytg.com
    
    ; <<>> DiG 9.3.4 <<>> @localhost safetytg.com
    ; (1 server found)
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40494
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;safetytg.com.                  IN      A
    
    ;; ANSWER SECTION:
    safetytg.com.           86400   IN      A       69.109.46.146
    
    ;; AUTHORITY SECTION:
    safetytg.com.           86400   IN      NS      www.safetytg.com.
    
    ;; ADDITIONAL SECTION:
    www.safetytg.com.       86400   IN      A       69.109.46.146
    
    ;; Query time: 2 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Fri Jun 27 04:19:50 2008
    ;; MSG SIZE  rcvd: 80
    ping:

    Code:
    server1:/home/admispconfig/ispconfig# ping ns1.safetytg.com
    PING ns1.safetytg.com (69.109.46.146) 56(84) bytes of data.
    64 bytes from adsl-69-109-46-146.dsl.irvnca.pacbell.net (69.109.46.146): icmp_seq=1 ttl=255 time=2.44 ms
    I'm not sure what else I can check to get the site reached from outside. Thanks also
     
  6. biobrew

    biobrew New Member

    When I check the site from outside my network I get http error 500

    The picture is of the godaddy's dns record for the site
     

    Attached Files:

    Last edited: Jun 27, 2008
  7. biobrew

    biobrew New Member

    So what else can I do to test or what other files can I check? I'm still getting a http server error 500 when trying to see the site from outside the network. Thanks in advance for help :)
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    It is the first time that you say that you get a 500 error. This error is not related with DNS in any way.

    Have a look in the error log of the website to get the detailed error message.
     
  9. biobrew

    biobrew New Member

    That fixed it. I checked the website log under /var/www/www.safetytg.com/log/error.log and it was a huge blunder on my part on a misplaced .htaccess file. I moved that file to the right location and now all is well with reaching the site from outside the network. Now to start chipping away at that blasted mail server :)

    Much love man, thanks
     

Share This Page