Custom URL - How to validate CNAME for custom URL?Issue Customer purchase a custom url/domain from Domain Provider.Once the url is purchased, custom url should have the following configurations. 1.Set the CNAME with the provider The CNAME record must be set as the ServiceNow instance URL. 2.[Optional] Establish a CAA record If you are using certificates, a CAA record must be set with a certificate provider. This record must be set to LetsEncrypt.or Facts The platform code verifies custom domain as below, 1) It is DNS resolvable and DNS has a CNAME record for it 2) CNAME points to the instance domain (<instanceName>.service-now.com) 3) If there is one A record pointing to instance domain 4) An alias defined in a CNAME record must have no other resource records of other types (MX, A, etc.) Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All releases Resolution This article explain the possible approaches to validate CNAME. 1.Validate CNAME from NOW platform a) Goto Custom URLs >> Custom URL module b) Open the custom url record. c) Access Form Context Menu >> Click Validate CNAME ui action. 4) Now platform will validate and update result if custom url is pointed to instance url or not. 2)Run SNC.InstanceURLUtil.isValidCustomDNSDomain("custom url") from the scripts background Script gs.print(SNC.InstanceURLUtil.isValidCustomDNSDomain("exampleurl.com")); Output: CustomURL:verify custom domain:exampleurl.com... CustomURL:itsupport.com;ip address:exampleurl.com/149.00.00.00 CustomURL:instance domain DNS A record:instancename.service-now.com. 60 IN A 149.96.57.90 CustomURL:verifying A Record... CustomURL:itsupport.com DNS A record:instancename.service-now.com. 60 IN A 149.96.57.90 CustomURL:verifying CNAME record... CustomURL:itsupport.com DNS CNAME record:exampleurl.com. 1443 IN CNAME customerinstance.service-now.com. CustomURL:verify sucessully. custom domain is:exampleurl.com *** Script: true