URL/Domain cloaking

AlexAkimbo

Power Member
Joined
Nov 16, 2021
Messages
781
Reaction score
1,070
Hi BHW,

I am trying to figure out how to cloak domain or URL. I would appreciate if someone with technical knowledge can assist me on this.

What I have tried so far:
1. DNS method: CNAME
2. nginx proxy_pass directive

Thing is that whatever I do some services on cloaked domain are identified with my exposed domain. For example if I CNAME from domain1.com to domain2.com service worker is registered under domain1.com and I like to be other way around.

Basically what I want to achieve is that user sees my domain in address bar while everything rest comes and identifies by correct origin (foreign domain)

Thanks
Alex
 
CNAME is not cloaking, it's a form of domain alias. You need a way to filter common crawlers and bots that platforms use to initially check your site in the review period. Any redirection in this period will result in ad disapproval or account suspension in major platforms.
 
CNAME is not cloaking, it's a form of domain alias. You need a way to filter common crawlers and bots that platforms use to initially check your site in the review period. Any redirection in this period will result in ad disapproval or account suspension in major platforms.
I am not using term cloaking here in a traditional manner. Also few more points on this matter:
  • I do not want to use third party services for this but to build my own for personal purposes
  • I do not want to filter traffic with cloaker/masker as I have another approach to this matter
All I want to achieve is to keep my domain name and URL in address bar while serving content from another domain I own. With special accent on service workers and other aspects that are scoped to single domain.

Imagine scenario where I have news portal sectioned by topics like politics, tech, sport, etc. hosted on subdomains. I want, for example, user from tech.myportaldomain.com to subscribe to push notifications on that subdomain but notifications to be sent from main domain (myportaldomain.com).

Thing is that everything works fine with CNAME and nginx proxy_pass - when I visit my subdomain I see content from main domain without redirection (that's CNAME and proxy_pass) but when I subscribe to notifications they come not form main domain but from my subdomain (e.g. tech.myportaldomain.com). Everything except service workers and some other specific stuff.
 
ANY "script" you find that does that is JS or PHP and it is cloaking by default. So in essence you ARE looking for cloaking, just a free one. Try Github.
 
ANY "script" you find that does that is JS or PHP and it is cloaking by default. So in essence you ARE looking for cloaking, just a free one. Try Github.
I am looking to make something myself and learn how it's done. Also, I am not looking only for a free solution and to be spoonfed. If know how to do it please point me to the right direction without selling 3rd party or your own services for that matter.

Please don't get me wrong as I am not one of your standard clients you are caring for but other type - someone with experience in both development and marketing. Everyone can signup for some service you mentioned before and IT WILL WORK in most cases but not in mine.

Just imagine having a fully developed arbitrage platform for and by yourself that's two-way integrated on both end with various publishers (affiliate networks) and advertisers (traffic sources) and must introduce several manual step into such thing including (but not limited to):
1. Manually changing landing pages
2. Manually checking/generating scripts provided by cloaking platforms (without API)
3. Taking care (manually again) of each and every step you make
4. Spending time and resources on paying for something just to end up using 5% of options

I hate to repeat myself but here we go again: I need someone to point me to the right direction on HOW TO CREATE/DEVELOP CLOAKER THAT WILL ONLY MASK URL WITH DESIRED ONE AND NOTHING ELSE
 
Back
Top