I've been happily adding domains to my shared hosting cPanel account with hostgator using the cPanel XML API2 modules.
Today, I naively tried to add 50 addon domains with names like NewTech.info using the addaddondomain function. I parsed the string "NewTech.info" with the capitals. The domains were created just fine, and they appeared in my cPanel account under Addon Domains.
However, when I tried to create a site, it was as if the domain was never added. When I tried to remove the domain, I received an error, saying that I do not control the domain "newtech.info" (note the lack of capitals).
Anyway, I realise that I shouldn't have tried to add domains with capitals in them :p, but this behavior in cPanel is quite odd. I don't know of any need to include capitals in domains, so all input domain info should be passed through a function like php's strtolower() in any case. This seems to happen only AFTER the domain has been added to the domain list, so that the user ends up with control over a domain he can't see, and a list of domains without the capitals that he can't control.
I ended up having to contact support and the admin just deleted them all.
Should I submit this as a bug somewhere, or is it something particular to my host? I'm with Hostgator shared hosting.
Today, I naively tried to add 50 addon domains with names like NewTech.info using the addaddondomain function. I parsed the string "NewTech.info" with the capitals. The domains were created just fine, and they appeared in my cPanel account under Addon Domains.
However, when I tried to create a site, it was as if the domain was never added. When I tried to remove the domain, I received an error, saying that I do not control the domain "newtech.info" (note the lack of capitals).
Anyway, I realise that I shouldn't have tried to add domains with capitals in them :p, but this behavior in cPanel is quite odd. I don't know of any need to include capitals in domains, so all input domain info should be passed through a function like php's strtolower() in any case. This seems to happen only AFTER the domain has been added to the domain list, so that the user ends up with control over a domain he can't see, and a list of domains without the capitals that he can't control.
I ended up having to contact support and the admin just deleted them all.
Should I submit this as a bug somewhere, or is it something particular to my host? I'm with Hostgator shared hosting.