Multiple sites running off same code

Posted by AimyThomas, 10-25-2012, 11:09 PM
I m interested in making multiple websites, all with the same basic functionality but will have different designs or templates. is there a way they can all run off the same basic underlying code, but use different templates. what is the best method of doing this.

Posted by Website themes, 10-26-2012, 03:40 AM
Depends on what content management system you want to use. WordPress and Drupal both offer this functionality out of the box.

Posted by Mark Muyskens, 10-26-2012, 03:44 AM
You could add all them as aliases for the same site. You could then use a bit of PHP to detect what domain is being used to access the site, and then use an IF statement to define the relevant template files for that domain.

Was this answer helpful?

 Print this Article

Also Read

Php as CGI or not.

Posted by Vinayak_Sharma, 01-13-2008, 08:37 AMOk I am configuring a fresh/new WHM/cPanel server...

Opinion about Xen

Posted by copahost, 09-14-2008, 06:51 PMI have read many topics here about Xen vs Virtuozzo vs...

Ioncube on server?

Posted by vito, 01-11-2008, 03:42 PMWhat command line entry do I use to find out if I have...

I doubt anyone can help, but here goes....

Posted by worldveil, 09-12-2007, 11:04 PMHi all, I doubt that anyone can solve this, but here...

Creating seperate index files for each image (or something similar)

Posted by svtVIB, 01-11-2008, 04:19 AMI created a website and I have an index.html; and in there,...