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.

Weird SSL problem

Discussion in 'General Discussion' started by lyew, Aug 30, 2003.

  1. lyew

    lyew Active Member

    Joined:
    Apr 24, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    OK. I've got a baffling problem. Right now I have a main domain/additional subdomains that share one IP.

    For eg. domain.com

    I decided to create another subdomain that I could use as an SSL server: secure.domain.com. Since the SSL server needs its own unique IP, secure.domain.com is on its own IP (different from domain.com and other subdomains).

    I made sure that in the httpd.conf file, domain.com's document root was something like

    /home/username/public_html

    while secure.domain.com's doc root is

    /home/username/public_html/secure

    Now, the funny thing is, when I type

    https://secure.domain.com in my browser, I get directed to domain.com's document root; but when I use http://secure.domain.com, I get sent to the correct directory.

    Does anyone know what might be causing this problem?

    cPanel.net Support Ticket Number:
     
  2. lyew

    lyew Active Member

    Joined:
    Apr 24, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    This was another stupid query. I scrolled a bit farther down my httpd.conf file and found a separate entry for that subdomain, and all I had to do was change the document root for that.

    :rolleyes:

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page