Open the custom hostname in the dashboard and read the exact validation method and target values it expects.

Look up the hostname DNS records from a public resolver and compare them with the expected target.

Remove conflicting records for the same name, then add the expected records exactly as shown, with no extra subdomain prefix added by the DNS editor.

Check whether an existing proxy or CDN record on the same name intercepts the validation request, and pause that proxying while validation runs if the provider instructs it.

Wait for DNS propagation, then refresh the hostname status in the dashboard.