Web Hosting Talk







View Full Version : How to “White label “ reseller type website in php?


abhijeet
08-11-2006, 11:34 AM
Hi fellow WHTans,

I am thinking of rebuilding my existing membership based website in php,
to work as white label site, for multiple agents and customers.

In short system similar to white label domain reseller program run by registrars.
Domain Registrar -> Domain Resellers -> Domain Customers.

In my case: My System -> Agents -> Members.
Only difference is my system is lightweight membership management system not for domains.

So if my site name is abc.com, typing my agents website xyz.com should end up abc.com with his banner etc.

1) What DNS entry should I make?
2 ) What info I can get from such forwarding,in PHP so I can programmatically change banner etc.
3) What should taken care of while rebuilding website for multiple agent and customers.
4) In this system some people will have own domain and some will have sub domain in my site.

Thank you.

zoldar
08-11-2006, 04:21 PM
Hello,

I don't know what do You mean here exactly, but as far as I understand:

1) all following entries should point to your main domain (for example by CNAME on abc.com)

2) The thing that is important to You in that case, is $_SERVER['SERVER_NAME'], whose value will be DNS name through which client entered the site. Depending on what it will be, You can conditionally display certain banners etc.

I can't tell much about the remaining point, because I have a little expirience on that field.

Greetings

abhijeet
08-11-2006, 10:41 PM
Thanks zoldar.

To clear the concept, Present site is serving only to my clients, and want to let people (like me) use this system (to serve their client) , on my server with out giving the source code.

As its very first thing ( branding etc ) on any such white label site, I am giving enough thought before I start modifying code.