JSON API
Domains
Validate domain by CNAME

Validate domain by CNAME

This endpoint allows you to add a domain using CNAME validation instead of DNS validation. It uses a POST request, which is confusing because it's called getcname.

HTTP Endpoint

POST https://panel.myownfreehost.net/json-api/getcname.php

Usage

curl -X POST -u username:password -d "api_user=username&api_key=password&domain_name=subdomain.example.com" "https://panel.myownfreehost.net/json-api/getcname.php"

Response

💡

The above request returns a plaintext MD5 hash structured like the following:

73081144a0525fde6ba1b0510684efcf