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.

Subdomain SSL redirect to main directory

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

  1. inxangoo

    inxangoo Registered

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

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

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

    I hope that makes sense. :)
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    To redirect, you will have to write the rewrite rule for the redirection in your domain.com .htaccess file.
     
Loading...

Share This Page