Multiple Front Ends?

General project discussion. NOT for help questions.
Post Reply
solstice
Forum Members
Forum Members
Posts: 34
Joined: Sun Feb 26, 2006 11:11 pm

Multiple Front Ends?

Post by solstice »

Hi
My requirement is to build many sites with different domain names and with different layouts and styles, but all using the same core content.
A further requirement would be "personalise"  a small portion of the content on each site by the use of tags for things like contact details.

Can this be done with CMSMS?

Andy
NaN

Re: Multiple Front Ends?

Post by NaN »

If the Domains are hosted at the same server it should be possible.
If not... i don't know.

You have at least one "main" domain.
This is where your CMS is installed.
You could create several templates for each domain.

Create a sitestructure like this:

Code: Select all

1. domain A (sectionheader, not active not visible) <--- let's assume this as the main domain
   |--- 1.1 Page 1
   |--- 1.2 Page 2
   |--- 1.3 Page 3
   |--- ...

2. domain B (sectionheader, not active not visible)
   |--- 2.1 Page 1
   |--- 2.2 Page 2
   |--- 2.3 Page 3
   |--- ...

3. domain C (sectionheader, not active not visible)
   |--- 3.1 Page 1
   |--- 3.2 Page 2
   |--- 3.3 Page 3
   |--- ...
And create a .htaccess file that redirects to the desired page.
E.g. everything that requests www.domainB/... will be redirected to domainA/domainB/...
And in the templates you call your menu like this:
(E.g. for Domain A)

Code: Select all

{menu template="your menu template" start_element="1.1" show_root_siblings="1" collapse="1"}
One problem is that the menulinks will always link to the "main" domain.
These links will (if you use pretty urls) look like www.domain A/domain B/...

Not sure if ths is the only solution.
But the first one that came into my mind.
Pierre M.

Re: Multiple Front Ends?

Post by Pierre M. »

I think Andy is asking for 1.1==2.1==3.1, 1.2==2.2==3.2 and 1.3!=2.3!=3.3 i.e. duplicate content on almost all of the sites.
May be at a database replication level :
-copy content tables
-adapt templating tables
-hack the details of "small portion of the content on each site" knowing the Devil is in the details.

I always fail to see the point of such duplication requests. Andy, could you elaborate on the functions of those sites ?

Pierre M.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Multiple Front Ends?

Post by Dr.CSS »

I believe jeremyBass has some post about running multiple domains in one install of CMSMS, not recommended by me at all...
JeremyBASS

Re: Multiple Front Ends?

Post by JeremyBASS »

I do have a few posts on this... but be warned that it's tricky to do... I am writing a mod to do this from the admin side, the set up I mean, but it's only 20% done.  Here are the posts to read


http://forum.cmsmadesimple.org/index.ph ... 524.0.html
http://forum.cmsmadesimple.org/index.ph ... 531.0.html
http://forum.cmsmadesimple.org/index.ph ... 953.0.html
http://forum.cmsmadesimple.org/index.ph ... 018.0.html


they all will relate to a

www.domain.tdl1
sub.domain.tdl2
etc

setup... Hope that helps cheers
Jeremy
Post Reply

Return to “General Discussion”