AXL Knowledge Base

Domain Verification for Third-Party Services

~4 min read Section: Sites

A third-party service may ask you to prove that you control a domain before enabling its features. When the service offers HTML file verification, AXL can serve its verification file at the exact website path it requests.

Use the file and path supplied for your own domain. This guide shows where to add them in AXL and how to check the public verification URL before returning to the service.

Let's walk through domain verification using Facebook Business Manager as an example.

Adding the Domain to Facebook Business Manager

For all cases where Facebook may require domain verification, see the Facebook guide.

Sign in to your Business Manager account using this link. Go to "Business Settings".

Meta changes names and menu placement over time, so follow the current Facebook guide if your screen looks different. This example uses HTML file upload. Choose that method if it is offered for your domain, and use the filename and path supplied by Meta.

Facebook All Tools menu with Business Settings highlighted.
Reference: earlier Facebook Business Manager interface.

Open the Domains section in the business settings and choose the option to add a domain. The reference below places it under Brand Safety; current menu names may differ.

Facebook Business Settings with Brand Safety, Domains, and Add highlighted.
Reference: earlier Facebook Business Manager interface.

In the pop-up window, enter your domain name, for example example.com (without http:// or https://). Click "Add Domain".

Add a domain dialog with a Domain name field and Add Domain button.
Reference: earlier Facebook Business Manager interface.

Open the domain verification options. If HTML file upload is available, select it to obtain the verification file used in this example.

Domain verification page with the HTML file upload method selected and a Verify button.
Reference: earlier Facebook Business Manager interface.

Download the HTML file and don't modify it. You will upload this file in the AXL section below.

HTML file upload verification instructions with the download link highlighted.
Reference: earlier Facebook Business Manager interface.

Keep the verification file exactly as the service supplied it. Use the original filename from the verification instructions, including its extension. If your browser added a duplicate-download suffix such as (1), remove that suffix when entering the filename in AXL.

Downloaded HTML domain-verification file opened in a browser, showing matching filename and page text.
Reference: the downloaded verification file opened in a browser; its name and text match.

Adding Domain Verification in AXL

Keep the Facebook page open and go back to AXL. Open Sites → Sites in the left menu. Open the site that uses this domain, or click Add Website to create a new one. To learn how to add a site, see the article "Sites."

Open the site's Account Settings tab and scroll down to Domain Verification Settings. Until you add a file, the section says No verification files yet. Click Add Verification.

Site Account Settings with the Domain Verification Settings section, No verification files yet and the Add Verification button, between Checkout Form Settings and robots.txt File.
Domain Verification Settings on the site's Account Settings tab.

The Add Verification panel opens on the right. Fill in the fields:

  1. Name. Enter the downloaded verification file name, for example k3x9p2v7f1qd8m4t.html.
  2. Type. Select File to upload the file the service gave you, or Content to paste its text instead. For the Facebook HTML file, choose File.

  3. File or Content. For File, click the upload area or drag the file onto it (one file, up to 5 MB). To replace the file, delete it and upload a new one. For Content, paste the text into the Content box.

  4. Path. Enter the address where the service expects the file. Facebook asks for the root of your site, so the path is a slash followed by the file name, for example /k3x9p2v7f1qd8m4t.html. Other services use their own paths, for example /.well-known/apple-developer-merchantid-domain-association.

Add Verification panel with Name k3x9p2v7f1qd8m4t.html, Type File selected, an empty file upload area and Path /k3x9p2v7f1qd8m4t.html.
An unsaved example with the name and path filled in. Upload the file from step 1 into the File area before clicking Add.

Click Add at the bottom of the panel (Cancel closes it without saving).

Before asking the third-party service to verify the domain, open the verification URL it provides and check that the required file or text is available there. The path must match the service’s instructions exactly.

Verifying the Domain

Go back to the Facebook Business Manager page and click "Verify" to start verification.

Domain-verification instructions with the Verify button highlighted.
Reference: earlier Facebook Business Manager interface.

Wait for Meta to report a successful verification. A green indicator appears next to the domain.

Domain details with the green verification indicator highlighted.
Reference: earlier Facebook Business Manager interface.