We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    Hi all,

    I read the installation manual for Revo and tried to install it on a local host. My provider will upgrade my database client tonight so that I can install Revo on my webhost smiley

    I have a question on how to layout the directory tree. I want to use one Revo installation to manage four different domains. (with the gateway plugin by switching the context) To do this I have to create several contexts:

    - Manager context
    - Web context (domain # 1)
    - Web context (domain # 2)
    - Web context (domain # 3)
    - Web context (domain # 4)

    Which parts can I share for all domains? I would like to use this layout

    / <- FTP Folder
    /connectors
    /core
    /docroots
    - /manager
    - /domain1
    - /domain2
    - /domain3
    - /domain4

    Do I have to create an additional sub-domain for the connectors or the assets? I can create any number of subdomains pointing to any folder within my FTP webspace. The manager context will be reachable as subdomain to one of the other domains.

    For example

    http://mydomain.com
    https://admin.mydomain.com
    http://seconddomain.com
    http://yetanotherdomain.com
    http://thereallastdomain.com

    The installation on my local client failed. I have had to create a domain for the connectors and the login-page of the manager context was not able to log me in.

    Your help is beyond price grin

    Cheers
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: ineluki at Mar 29, 2010, 04:47 PM

      I have a question on how to layout the directory tree. I want to use one Revo installation to manage four different domains. (with the gateway plugin by switching the context) To do this I have to create several contexts:

      - Manager context
      - Web context (domain # 1)
      - Web context (domain # 2)
      - Web context (domain # 3)
      - Web context (domain # 4)

      Which parts can I share for all domains? I would like to use this layout
      If you want separate webroots for each domain, you don’t want to use the plugin to switch contexts, you want to use the other method described here.

      Quote from: ineluki at Mar 29, 2010, 04:47 PM

      Do I have to create an additional sub-domain for the connectors or the assets? I can create any number of subdomains pointing to any folder within my FTP webspace. The manager context will be reachable as subdomain to one of the other domains.
      Just pick the domain to host the manager and connectors and put those folders in that domain’s document root.
        • 34162
        • 1 Posts
        Hi OpenGeek,

        I will try this later this day. As the recommended documentation is a example for subdomains I think it should be the same way with "real" domains.

        I’ll come back with feedback.

        Cheers and thanks
          • 28215
          • 4,149 Posts
          Quote from: ineluki at Mar 30, 2010, 12:29 PM

          I will try this later this day. As the recommended documentation is a example for subdomains I think it should be the same way with "real" domains.

          It should work just fine with full domains as well - most of that implementation will be up to you configuring the server as you want it, and not with any MODx changes (subdomains or full domains will both take the same approach on the MODx end). The tutorial covers subdomains because, well, subdomains are easier to write a tutorial for. laugh
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com