Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2007
    Posts
    21

    Default Wildcard SSL + Redirection Problem

    I have purchased and installed a wildcard SSL cerfiticate on the same domain as my hostname.

    I have been able to get hostname.mydomain.co.uk to correctly use the new certificate.

    However, I wish to also use the SSL certificate for https://webmail.mydomain.co.uk which points to a custom webmail installation.

    http://webmail.mydomain.co.uk works fine and points to the webmail app.

    However, https://webmail.mydomain.co.uk redirects to https://www.mydomain.co.uk which is not what I want to happen. However, http://www.mydomain.co.uk is correctly secured with the new certificate.

    Any ideas why this redirection is occuring?

    Thanks in advance.

    Daniel

  2. #2
    Member
    Join Date
    Sep 2007
    Posts
    21

    Default

    If It helps I have made manula changes to httpd.conf to get it working. However, I am afraid that as soon as the httpd.conf is rebuilt I will loose the changes and it will go back to not working as I expect.

    Here is what I added. First note that the VirtualHost record for webmail.mydomain.co.uk comes before the record for *.mydomain.co.uk. Initially the record for wemail.my.domain.co.uk was not SSL enabled. So:
    • I changed the port to 443
    • I copied and pasted the SSL directives from *.

    Saving the edited config and restarting apache makes it work exactly as I would like. How do I make sure that these changes are preserved during subsequent config rebuilds? The distiller won't work as the changes have been made in VirtualHost records.

    Thanks

    Daniel

Similar Threads & Tags
Similar threads

  1. Wildcard SSL Problem
    By JacobHaug in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-15-2011, 06:01 PM
  2. Wildcard SSL and https redirection
    By KaKtusSs in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-01-2010, 10:57 AM
  3. Wildcard SSL problem
    By matins007 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-10-2009, 09:41 AM
  4. Wildcard SSL problem
    By alpiroom in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 05-28-2008, 03:52 AM
  5. SSL Wildcard install problem
    By truongton in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-28-2006, 12:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube