Unix/Linux Go Back    

Web Programming Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, HTML, SEO, and other Web APIs and topics.

White labelling

Web Programming

Thread Tools Search this Thread Display Modes
Old Unix and Linux 07-30-2015   -   Original Discussion by steve matthews
steve matthews's Unix or Linux Image
steve matthews steve matthews is offline
Registered User
Join Date: Aug 2013
Last Activity: 2 September 2016, 11:04 AM EDT
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
White labelling

I am looking to whitelist a corporate financial website to brokers who can re-sell our products.

A commonly cited approach is to clone the codebase and sub-domain it for each client which will allow for their own
media assets and any bespoke programming. The big downside here is maintaining multiple copies of the cloned code base.

Another approach is to use an iFrame of our site within the brokers's sites.

However by creating an alias or symlink of sub domain folders to the original domain enables you to pick up the
sub domain in the request and serve the appropriate content.

Doing this will probably mean a few extra bits in the database to accommodate this extra functionality -
updates are rolled out automatically since changes to the code only happen in one place.

Are there better ways of doing this and what issues might you see with my suggestions ?

All comments welcome ..
Sponsored Links
Old Unix and Linux 07-30-2015   -   Original Discussion by steve matthews
jim mcnamara's Unix or Linux Image
jim mcnamara jim mcnamara is offline Forum Staff  
Join Date: Feb 2004
Last Activity: 21 June 2018, 9:11 PM EDT
Location: NM
Posts: 11,416
Thanks: 629
Thanked 1,170 Times in 1,077 Posts
There is also the added attack surface you can inadvertantly create by duplicating a code base.

You idea seems viable but I think a separate code and database (if used) on a fully separate domain would be better security-wise. All of our vendors come in through a tunnel if they come from a trusted site. Otherwise everything else gets routed in the DMZ to a dummy domain where they can interact with systems that are not physically connected with us at all. One-off file transfers happen that way.
The Following User Says Thank You to jim mcnamara For This Useful Post:
steve matthews (07-31-2015)
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sed + white space mcclunyboy Shell Programming and Scripting 18 10-01-2010 03:23 AM
stripping white space... Zak Shell Programming and Scripting 7 10-09-2007 07:41 AM
Two or more white spaces in string harish_oty Shell Programming and Scripting 2 10-04-2006 03:29 AM
deleting white spaces cary530 UNIX for Dummies Questions & Answers 10 02-17-2004 12:22 PM

All times are GMT -4. The time now is 11:51 PM.