ISPConfig API - DNS Problem --> Site not working without www
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!
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!