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

    I am trying something that seems very simple to me:

    copy Existing site to new site same host and DIFFERENT PORTS, i.e. just duplicate existing site on same host and make it available on different ports.

    Existing: dns:80/,dns:443/
    new : dns:8080, dns:8443

    Here's what I did:

    - copied /path/to/existing/modx_doc_root/* => /path/to/new/modx_doc_root
    A: MODX_DOC_ROOT of existing modx 2.6.5 installation
    B: MODX_DOC_ROOT of desired (new) modx 2.6.5 installation

    A and B on same HOST

    - did mysqldump A site to B:

    DB_A: mysql db associated with A
    DB_B: mysql db associated with B (loaded from DB_A)

    - altered B/core/config/config.inc.php to reflect changed site dirs AND change port 80 -> 8080 and port 443 -> 8443.

    I can't hit
    dns:8080 or dns:8443...

    What else do I need to do?

    Thanks

    James

    [ed. note: jxarms3 last edited this post 5 years, 6 months ago.]
      • 49407
      • 159 Posts
      You'll need to setup virtual hosting. That's a server administration issue. Do you know how to do server administration? Are you on shared, or dedicated/VPS? What web server are you running? Not enough information provided in your question and it's a little out of scope for this forum, but I'll try to help you if you can answer those questions.