ISPConfig API - DNS Problem --> Site not working without www

Discussion in 'Programming/Scripts' started by Manolo.abc4IT, Jun 19, 2013.

  1. Manolo.abc4IT

    Manolo.abc4IT New Member

    Hello dear fellow programmers

    I'm having some issues with the ISPConfig API, the question is really specific and I couldn't find anything with the search function. I hope it's in the right theme, otherwise sorry in advance.

    My webapplication is creating the Domainname and DNS-Entries for a site which is generated by the users input.
    The sites are on a toplevel domain (f.e.: thisissite.thisistoplevel.com) and I can call them without problems if I add the "www" in front.
    Without www in front the site isn't recognized (tested with nslookup).
    A site which I created manually in ISPConfig is working though, that's what's really strange to me!

    My questions:

    Are there different ways to create DNS-Entries with the API? Am I overlooking something?

    Are my settings correct?

    Entries which I have for thissite.thistoplevel.com:
    Type Name Data
    A mail IP Server
    A thissite.thistoplevel.com. IP Server
    A www IP Server
    MX thissite.thistoplevel.com. IP Mailserver
    NS thissite.thistoplevel.com. Nameserver

    If you need more information, please ask, I'm not into DNS-stuff that much, so I'm a bit clueless now.
    Thank you so much for helping in advance!

    Best Regards

    Manolo
     

Share This Page