GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How Does A Whitelabel Work? (Technical Thread) (https://gfy.com/showthread.php?t=962754)

youngblood 04-09-2010 02:20 PM

How Does A Whitelabel Work? (Technical Thread)
 
Does anyone know the technical mechanics of how a white label works?

Say you own the domain abc.com and want to promote a cam program using their white label technology, you as the affiliate would simply setup your domain abc.com to point to their whitelabel servers IP address or CNAME to it (after creating a WL profile in their system) and wa la your done.

But from a technical standpoint how does all that work? anyone?

The whitelabel server would have a virtual host listening on * (or aliased to *) and as such would accept all incoming requests from any domain and serve back the content on that WL server. But how does the WL server distinguish what which WL profile to send back to domain abc.com? Is there some sort of marker somewhere in that system which can identify all this?

Perhaps when a WL profile is created, does it create a unique doc root and assigns that profile to that doc root and a backgroup WL app monitors for all incoming requests for site abc.com?

Or is there some sort of re-write rule which happens on the server side to manage all this?

Thanks in advance

Varius 04-09-2010 07:10 PM

There are many different setups, some simple and quick, some more advanced or focused on security, etc... so there isn't one general answer.

Quote:

Originally Posted by youngblood (Post 17019913)
The whitelabel server would have a virtual host listening on * (or aliased to *) and as such would accept all incoming requests from any domain and serve back the content on that WL server. But how does the WL server distinguish what which WL profile to send back to domain abc.com? Is there some sort of marker somewhere in that system which can identify all this?

In most cases, here is how they would know what white-label to load:

All requests use the same DocumentRoot and thus load the same files.

The included config file would determine the whitelabel based on domain name (as an example).

This variable is then used wherever it needs to generate or fetch content uniquely to that whitelabel (example in database queries, loading template sets, whatever).

Another idea is, yes, they very well could create a different virtualhost and documentroot per white label and automatically rewrite their virtualhost file when new white labels are generated, etc... for almost all cases though this is pretty inefficient.

Hope that helps you get started :)

Varius 04-09-2010 07:14 PM

One other tip is you can work out some pretty nice white labels which can hide their footprints (ie. remain pointed to your own server/IP, allowing you to add additional folders, web stats software, etc...) through setup and usage of mod_proxy or any equivalents for other webservers. That mostly requires cooperation on the program's end, however.

Killswitch - BANNED FOR LIFE 04-09-2010 07:30 PM

$_server["http_host"]

srockhard 12-17-2013 09:40 PM

Sorry to bump this old ass thread but I'd like to hear more from anyone knowledgeable about how to create a white label system within an affiliate panel so that affiliates can simply generate their own white label at will.

whOaKemosabe 12-17-2013 09:57 PM

Quote:

Originally Posted by srockhard (Post 19913319)
Sorry to bump this old ass thread but I'd like to hear more from anyone knowledgeable about how to create a white label system within an affiliate panel so that affiliates can simply generate their own white label at will.

http://www.essentialoils.co.za/image...ntial-oils.jpg


All times are GMT -7. The time now is 01:53 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123