How To Add Custom Domains To Your Ad Network

When we create your GreenBookLabs CPA Ad Platform Account . By default we will setup your account on some Temporary Domains like :

Network Panel Domain : http://demonet.a1.greenbooklabs.com

(Network panel also knows as Staff Panel, is for you and your staff to create and manage publishers, advertisers, offers, check reports etc.)

Publisher Panel Domain : http://demo.a1.greenbooklabs.com

(Publisher panel also knows as Affiliate Panel, is for your Publishers/Affiliates, where they will login and get their offers tracking links , check their reports etc.)

Tracking Domain : http://trk.a1.ineotron.com

(Tracking Domain is - as the name suggest is for your Offer's tracking link for your affiliates.)


You may Check 'Domains' Interface to see your account's default Domains at : 

Navigation Menu -> settings -> Domains

Or Direct Link : URL link:  your-network-panel-domain.com/panel/domains

This is how it will look by default : 

Have a look at this Screenshot :

Default Setup with Temporary Domain Names:

original_default_domains_1623865358208823.png


As you can see there are three temporary Domains:

1) demonet.a1.greenbooklabs.com (Primary Network Domain) 

2) demo.a1.greenbooklabs.com (Primary Publisher Domain)

3) trk2.a1.ineotron.com (primary Tracking Domain)


Its recommended that you create and use your own Domains/Subdomains and discard these temporary subdomains . Also if you wish to use HTTPS domains instead of HTTP, which is recommended, then you might want to route your Domains through Cloudflare.com and utilize their FREE SSL certificates as our system fully supports it.

We can also install SSL on our servers itself but for that we charge $5 per month for each subdomain. as we have to install these certificates on each of our several load balancer servers manually and maintain it every 2-3 month to renew them. So why pay for it when u can get them for free using cloudflare ? so please do everyone this favor and use cloudflare :)


For example: Let say your Organization website is Mysite.com so you might want to create your :


Network Panel Domain as : https://net.mysite.com

Publisher Panel Domain as : https://pub.mysite.com

Tracking domain as : https://trk.mysite.com or completely different domain name like : https://throwawaydomain1.com

It Is recommended to use a completely different domain name for your tracking link because if your publishers start abusing your affiliate tracking link with massive spam then google might blacklist your domain. so its suggested that you use different domains for your tracking links as soon as you can afford it.

After all in our system you can have multiple domains for Network panel, publisher panel and tracking domain. so feel free to use it well.


Steps to setup your own Subdomains :

After you have decided your Subdomains , Create those subdomains DNS records in your domain registrar domain settings or in cloudflare DNS settings (if you are using cloudlfare)

Please note that :

Both your Network Panel subdomain and Publisher Panel Subdomain must be pointed to "panel.greenbooklabs.com" as CNAME record


cloudflare_dns_records1_1618337706658125.png


And your Tracking domain/subdomain must be pointed to "trk.greenbooklabs.com" as CNAME Record

cloudflare_dns_records2_1618343000104486.png


After verifying that the DNS propagation is done (which might take upto half hour depending on your domain registrar) you have to add these Domains in your "Domain Settings" page as 'Primary Domains' and edit the existing temporary Domains as 'Secondary' or disable them.

Please note that Its very important to change the previous temporary domains to 'secondary' Type. You may also disable those temporary domains if you wish by changing their status to 'inactive'.

Also when you are adding your custom Domains. choose the Scheme Type as 'HTTP' not 'HTTPS' . You should only choose HTTPS when you are sure that SSL certificates are working properly.


To go to "Domains Settings" page Left Navigation Sidebar ->Settings -> Domains

or just visit page : your-network-panel-domain.com/panel/domains/

Please note that in your 'Domains' page each Domain Type should have only ONE 'Primary' Domain . Otherwise you might run in some trouble sooner or later. i.e.

Only One Primary Domain for 'network' Type

Only One Primary Domain for 'publisher' Type

Only One Primary Domains for 'track' Type

You can change all other domains as 'secondary' Type. you may add several domain if you want.

To Add your domain, Click the 'Add New' button on top right corner of the page:

Screenshot :

adding_domains_1623866762271802.png


This is how your setup should look like after you added your custom Domains:

added_custom_domains_1623867007269551.png

In above screenshot we have Added

1)net.mysite.com as Primary Network Domain (HTTPS)

2)pub.mysite.com as Primary Publisher Domain (HTTPS)

3)trk.mysite.com as Primary Tracking Doamin (HTTPS)

4)Changed demonet.a1.greenbooklabs.com as Secondary Network Domain (you may also deactivate it)

5)Changed demo.a1.greenbooklabs.com as Secondary Publisher Domain (you may also deactivate it)

6)Changed trk2.a1.ineotron.com as Secondary Tracking (you may also deactivate it)

please Also note that ,you can access your network panel and Publisher using both primary and secondary Domain.

Again, as there are two tracking domains both will work , but when any publisher login to their panel and try to get any offer's tracking link(affiliate Link) they will get the tracking link with your Primary tracking domain. unless you specifically set the offer to use any secondary domain (more about this later)

Also you may add more Domains to your account. Many networks tends to add new tracking domains to their account every month. 

Please watch this Video Demonstration for  How to Enable HTTPS in Cloudflare

If you still have any doubt or facing any trouble in setting up Custom domains for your account , Or setting up ColudFlare HTTPS then please let us know.




Dated : 2021-06-12 00:00:00

Category : Documentation

Tags : Tutorials

1 Comments

Michael

2021-06-12 22:21:50

Thanks for the tutorial. Very helpful

Leave Your Comment