When your ad landing page uses your own domain, verify that domain with Meta. Domain verification shows Meta that your business owns the domain.
To connect your own domain to the landing page, see Use Your Own Domain for Ad Landing Pages.
Why Verify Your Domain
Meta says that domain verification lets you do these things:
- Claim ownership of your domain in Meta Business Suite.
- Control who can edit the links to your domain, in ads and in organic posts.
- Help prevent misuse of your domain.
Domain verification is free.
Verify the Root Domain, Not the Subdomain
Your landing page uses a subdomain, for example lp.yourdomain.com. In Meta, verify the root domain, yourdomain.com.
- When you verify the root domain, Meta also gives you control of all its subdomains. This includes
lp.yourdomain.com. - Enter the root domain only. Do not enter
www.,lp., orhttps://.
What You Need
- A Meta business portfolio. You must have full control of the business portfolio.
- Access to the DNS settings of your root domain.
You can verify the root domain before or after your custom domain is Live in Ranksy.
Verify with a DNS TXT Record
- Open Meta Business Suite Settings. You can also go directly to the Domains page in Meta Business Suite.
- In the Brand safety section, select Domains.
- Click + Add.
- Select Create a domain.
- Enter your root domain, for example
yourdomain.com. - Click Add.
- Select Update the DNS TXT record with your domain registrar.
- Copy the TXT record that Meta shows.
- At your DNS provider, add a new TXT record to your root domain. Paste the value from Meta.
- Wait for the DNS change.
- Check the record with a DNS lookup tool, for example Google Admin Toolbox Dig. Select TXT. Enter
yourdomain.com. Make sure that the result shows the value from Meta. - In Meta, click Verify domain.
For step 9, use the name for the root domain in the name field. Many DNS providers use @. Some providers want an empty name field. The help pages of your DNS provider tell you which one to use.
⚠️ Warning: Do not change or delete the TXT records that are already on your root domain. For example, your email can use a TXT record. A domain can have more than one TXT record. Add the Meta record as a new record.
Note: The optional _cf-custom-hostname TXT record from Ranksy is for Ranksy only. It does not verify your domain with Meta.
Meta says that a DNS TXT change can take a few minutes, or up to 72 hours.
Why Use the DNS TXT Method
Meta has three verification methods: a DNS TXT record, a meta tag, and an HTML file.
- The meta tag method and the HTML file method need a website on your root domain. Meta checks
yourdomain.com, notlp.yourdomain.com. - Ranksy shows only your landing page on your subdomain. Ranksy cannot add a meta tag or a file to your root domain.
- The DNS TXT method works with or without a website on your root domain.
If you control a website on your root domain, you can also use the meta tag method or the HTML file method.
Use Your Domain in Meta Ads
After your custom domain is Live in Ranksy:
- In Ranksy, open the Landing Page tab.
- Copy the Meta ads URL. The URL uses your domain, for example
https://lp.yourdomain.com/your-app-a1b2c3d4. - In Meta Ads Manager, open your ad.
- Set the website URL of the ad to the URL that you copied. Keep your
utm_parameters. - Publish the change.
The Meta ad destination URL on the Meta Conversions API tab is the same URL. For more information about this tab, see Meta Ads Attribution.
Ranksy does not change your ads. Do these steps for each ad.
Troubleshooting
Messages in Meta
| Message | What to do |
|---|---|
| Invalid domain was entered | Enter only the root domain, for example yourdomain.com. Do not enter www., a subdomain, or https://. |
| Domain has already been verified by another business | A different business portfolio verified the domain. Ask that business to share the domain with you. This can also occur after a change of ownership. |
| DNS record fetch error | Meta could not read the DNS record. Check the TXT record with a DNS lookup tool. Wait for the DNS change. Then try again. |
| No DNS entries were found | Meta did not find the TXT record. Make sure that you added it to the root domain. Wait for the DNS change. Then try again. |
| DNS TXT record doesn't match | Copy the TXT record from Meta again. Make sure that the value at your DNS provider is the same. |
| Domain verification failed | Refresh the page. Then try again. If the error continues, contact Meta support. |
Other Problems
You added the TXT record to the subdomain. Meta checks the root domain. Add the TXT record to yourdomain.com, not to lp.yourdomain.com.
You cannot find Domains in Meta Business Suite. Meta can change its interface. See the Meta help article about domain verification.
Your ads still use the ranksyapp.com URL. Ranksy does not change your ads. Change the website URL of each ad to the new Meta ads URL.
Next steps
- Use Your Own Domain for Ad Landing Pages — Connect your subdomain to the landing page in Ranksy.
- Add the DNS Records for Your Custom Domain — Add the CNAME record for your subdomain at your DNS provider.
- Ad Landing Pages — Change the text and the links of the landing page.
- Meta Ads Attribution — Send install and revenue conversions to your Meta pixel.