2 Replies Latest reply on Mar 10, 2008 2:55 PM by TiGGi

    Two domain names pointing to same server & code reusability

    sankalpah
      We have two domain names pointing to same server & need to reuse lot of code.

      What will be better approach have two sub domains(folder) under main domain like folder1 (- domain1)

      and folder2-(domain 2)

      both folders will have exact same sub folders

      /folder1/tags /folder2/tags
      folder1/pages/ folder2/pages/

      folder1/documents/pdfs/ folder2/documents/pdfs/

      OR
      under main folder subfolders like
      /AllTags/Folder1
      & Alltags have another folder Folder2/

      With approach no 1 I will have to use lot of nested includes like <cfinclude template="../../../f1/include.cfm"


      thank you