Set DNS for subdomain

Can anyone help, please?

Issue: I use godaddy. I set Active Domain as subdomain (api.domainname.com). In DNS section I set the following records: @ -> 1.2.3.4, api -> 1.2.3.4 and test -> 1.2.3.4.

But now I can open domainname.com and test.domainname.com, but cannot open api.domainname.com (got error DNS_PROBE_FINISHED_NXDOMAIN – api.domainname.com server IP address could not be found.)

The client wants to use top-level domain (domainname.com) for the site, which he created via weebly. All other subdomains should works with godaddy.

Anyone has any thoughts, why I cannot open api.domainname.com. Is it connected to Active Domain?

Thanks!