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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

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

  1. neokio

    neokio Registered

    Mar 4, 2013
    Likes Received:
    Trophy Points:
    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?

Share This Page