I think you are using wrong ListItemEntityTypeFullName in payload.
If you are getting correct ListItemEntityTypeFullName value from getItemTypeForListName() function, try using payload like:
var item =...
You can use AAM(alternate access mappings) to achieve it.
Steps for your reference:
Create a DNS host record using your company name and map it to your SharePoint server.
Binding the DNS host record ...