Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how to approach one-codebase-for-many-domains with SSL?

Discussion in 'General Discussion' started by neokio, Mar 4, 2013.

  1. neokio

    neokio Registered

    Joined:
    Mar 4, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have a VPS with WHM/cPanel, and a bunch of web stores, all with unique content, and all running off the same custom PHP codebase, db, CMS and CRM systems. The content for each domain is unique, but generated from the same code, with shared file resources. There's only one missing element: How do I configure cPanel to do this?

    I looked into addons, but there's no SSL with addons. WHM's Parked Domains don't allow SSL or SMTP either.

    I considered just setting up the domains as normal accounts, and then replacing the directories with symbolic links. Is this possible? In other words, can I have my code in /home/site1/public_html, and simply make a symbolic link to that in place of /home/site2/public_html? Won't permissions cause problems (for writing images, etc.)? Is this fixed if I change the group Apache runs under for those sites to something shared between the accounts?

    Has anyone done this? What's the best approach?
     
Loading...
Similar Threads - approach codebase many
  1. DennisMidjord
    Replies:
    10
    Views:
    141

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice