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!

Subdomain SSL redirect to main directory

Discussion in 'General Discussion' started by inxangoo, Aug 25, 2009.

  1. inxangoo

    inxangoo Registered

    Dec 11, 2007
    Likes Received:
    Trophy Points:
    I'm new to cPanel (on a dedicated server) and am trying to figure out how to do the following:

    My hostname is and i have setup a SSL for (to be used as the shared certificate.) With DirectAdmin I was able to point to the hostname and all users could use the shared SSL by pointing to

    So, if the hostname is and the SSL is, how can I make the SSL subdomain point directly to the hostname?

    I hope that makes sense. :)
  2. thewebhosting

    thewebhosting Well-Known Member

    May 9, 2008
    Likes Received:
    Trophy Points:
    To redirect, you will have to write the rewrite rule for the redirection in your .htaccess file.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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