Verifying domains in Facebook’s BM. Online binding service. Integration with Keitaro.

Greetings everyone and thanks NPPR Team for content — subscribe

If you already have a BM, verifying a domain will be a snap.

We use a little script to resolve this issue.

You’ll need:

1. A dedicated server to house the confirmation script. Unfortunately with this method, not all the pages of websites that end in .html nor the pages that are located in the root directory can function properly. (Later on, we’ll make a script that will work in conjunction with Keitaro). This solution is temporary.

2. The script itself —

Setting up the CNC for apache is done through .htaccess, that is located in the archive, if, however, your server runs on nginx (.htaccess won’t work without a hack), then in the nginx setting enter:

location / { rewrite ^/(.*)\.html /fb.php?id=$1; }

The operating procedure is simple, when referring to any page, the script displays information from the address in the pages body.


Use our online service —

To do this, link your domain(s) through A-record to this IP address —

Confirm the domain in FB, de-link your domain from our server and use it in your FB ad campaign.

How we work

1. On a separate server through A-record, we link domains that need to be verified.

2. Add the domain to FB and verify it.

3. Change the domain’s A-record to the server with Keitaro.

Or, if you don’t need all this, you can just go through the standard verifying procedure FB offers you: Meta-tag, File, DNS-record.

Deciding whether such a method is convenient or not is up to you.

Upd. Integration with Keitaro.

1. Place the fb.php file into /var/www/keitaro

2. Grant under root access: chown keitaro:keitaro fb.php

3. In /etc/nginx/conf.d/keitaro/ before # Tracker locations enter

location ~ ^/([0–9a-zA-Z]+)\.html$ {

try_files $uri $uri/ /fb.php$is_args$args;

include /etc/nginx/conf.d/keitaro/;


4. Under root issues a command: service nginx reload

5. File fb.php


header(‘Content-Type: text/html; charset=UTF-8’);

$uri = trim($_SERVER[‘REQUEST_URI’], ‘/’);

echo str_replace(‘.html’, ‘’, $uri);

Now, all the domains that have been uploaded to the Keitaro tracker can be verified without any mumbo jumbo.




Official Site: Telegram Support: Email: YT:

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

10 free stock photos you would actually use (Wednesday 18th 02PM edition)

AMA Recap of Crypto Eagles with ACIDHEADZ

How to install MySQL on Ubuntu 20.04

Let’s Create a Snake game using Flutter and Flame!

Build a Crypto Market Making Bot in Python

Directus with MSSQL and Docker

Automation in Education — Python and Google Forms

KUBERNETES: step-by-step with Spring boot, Docker & GKE

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Official Site: Telegram Support: Email: YT:

More from Medium

Flexport: how helping to grow the GDP of international trade can help the company hit $1 T…

Easily build an issue management app with AppSheet

Beyond Kickstarter — Equity and Regulation Crowdfunding (RegCF) Basics

The Asylum Guide Buying and Selling on Secondary Markets