Oracle Error CLSGN-00151: Host domain “string” does not match GNS subdomain “string”

Oracle Error Message

CLSGN-00151: Host domain “string” does not match GNS subdomain “string”

Reason for the Error

The domain specified for the host does not specify the subdomain served by GNS.

Solution

Either specify the correct domain or just specify the name of the houst.