ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Multiple Sites

July 07, 2009 3:40pm

Subscribe [2]
  • #1 / Jul 07, 2009 3:40pm

    blukabm

    16 posts

    I’m a bit confused about having multiple sites using the same installation.
    So, I have this:
    site1.com
    site2.com

    expression engine is installed and working on site1.com. I put the path.php file on site2.com. Now, when I have to set $system_path = “/system/” - it is saying I must use a relative path. How am I to use a relative path for a separate domain? The two domains are on the same server, but how can you browse to another domain? It just doesn’t seem correct to me.

    Thank you for your patience with me as I tackle the EE learning curve!

  • #2 / Jul 07, 2009 5:11pm

    Ingmar

    29245 posts

    It will depend on your setup. If you have separate domains on the same server, one common setup is to map every domain to a separate sub-directory. Are you using the MSM here, or are you trying to use multiple domains with the same single EE install?

  • #3 / Jul 08, 2009 3:04pm

    blukabm

    16 posts

    It will depend on your setup. If you have separate domains on the same server, one common setup is to map every domain to a separate sub-directory. Are you using the MSM here, or are you trying to use multiple domains with the same single EE install?

    We are set up on a VPS server (Media Temple) and wanted to set up completely different domain/ host. But during the MSM installation we ran into a relative path issue across domains during the path.php set-up. Our PLESK does not allow relative paths at that point.

    So now the site2.com is inside the root directory with site1.com install. We need both sites to work independently of each other to the viewer. Meaning the URLS need to be only its domain. right now the following happens:

    site1.com/site2_directoryname

    We need this to happen:

    site2.com/index.php

  • #4 / Jul 08, 2009 4:07pm

    Ingmar

    29245 posts

    At this point this seems more of an issue with DNS: You must make sure that the second site resolves to the sub directory within the first site. Put a secondary index.html in there, and make sure you can access this via your secondary domain. Once that that works proceed with the MSM installation instructions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases