Weird SSL problem

lyew

Active Member
Apr 24, 2003
38
0
156
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:
 

lyew

Active Member
Apr 24, 2003
38
0
156
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: