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 redirect in httpd.conf?

Discussion in 'General Discussion' started by sirbrent, Dec 25, 2008.

  1. sirbrent

    sirbrent Well-Known Member

    Sep 30, 2008
    Likes Received:
    Trophy Points:
    Hello, Im trying to find out what i need to add to httpd.conf to perform a redirect in the scenario below:

    I want anyone who visits to be redirected to

    Please note that it must only redirect the subdomain when using https, as http should be handled normally (which is owned by a users cPanel account).

    It is important that I add (or include) to httpd.conf, and not do it through the users cpanel.

    also, correct me if i am wrong but i believe i cannot use a RewriteRule because it will throw errors with the SSL certificate?

    Thanks so much for reading this post.
    #1 sirbrent, Dec 25, 2008
    Last edited: Dec 25, 2008

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