subdomaine in ISPconfig

Discussion in 'Installation/Configuration' started by zinovsky, Nov 11, 2008.

  1. zinovsky

    zinovsky New Member

    Hi,

    i want to add a subdomaine to my site www.exemple.com to have something like this : http://french.exemple.com , i add the subdomaine and i tried to create a DNS slave , but after the DNS server go down. i tried several times but always the same.

    Thank you in advance
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you sure that your server is the the official secondary namserver for example.com? Otherwise you should not add a slave record for example.com. And never add a slave record for e.g. french.example.com as this has to be configured on the primary dns server and not on your server.
     
  3. zinovsky

    zinovsky New Member

    Hi,

    How i can know that my server is the the official secondary namserver for example.com?
    when i check dig http://exemple.com give this to me :
    [root@zinovsky ~]# dig http://exemple.com

    ; <<>> DiG 9.3.4-P1 <<>> http://exemple.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25398
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;http://exemple.com IN A

    ;; AUTHORITY SECTION:
    net. 663 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1226441245 1800 900 604800 900

    ;; Query time: 12 msec
    ;; SERVER: 62.179.104.196#53(62.179.104.196)
    ;; WHEN: Tue Nov 11 23:11:35 2008
    ;; MSG SIZE rcvd: 115

    does the result mean that i own just www.exemple.com and not expmle.com ? or i need to make other configuration in godaddy from where i bought the domaine.

    Thank you for your help
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. zinovsky

    zinovsky New Member

    Yes i know but just i tried with http:// perhaps stupid from my part to use it this way
    this is what give :
    [root@zinovsky ~]# dig exemple.com

    ; <<>> DiG 9.3.4-P1 <<>> exemple.com

    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53549
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;exemple.com . IN A

    ;; ANSWER SECTION:
    exemple.com . 86400 IN A 192.168.123.192
    exemple.com . 86400 IN A 11.222.333.44 ( is my ip)

    ;; Query time: 32 msec
    ;; SERVER: 62.179.104.196#53(62.179.104.196)
    ;; WHEN: Wed Nov 12 10:30:02 2008
    ;; MSG SIZE rcvd: 67

    so what you think is the problem ?
    Thank you for your help
     
    Last edited: Nov 13, 2008
  6. falko

    falko Super Moderator Howtoforge Staff

    Please delete this A record because it uses a private IP. Nobody from outside your LAN will be able to access your web site.

    Are your DNS servers listed in the output of
    Code:
    dig ns exemple.com
    ?
     

Share This Page