Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

It's long, but please read carefully.

I am trying to install an SSL certificate on my dedicated server with WHM/cPanel.

I have a dedicated IP to use with the SSL certificate.

My main domain is example.com (NOT www.example.com), and I have an account and website already running on it.

I bought the certificate for the main domain (example.com without www.).

I installed the certificate (successfully). I used the example.com domain, the dedicated IP and the same cPanel user which owns example.com (non-ssl)

I double checked ConfigServer for port 443 being open.

RESULT: https://example.com won't open, ssl check tool returns a "SSL is not configured on this port (443)" error.

I have three questions:

  • where did I go wrong, wht did I miss?
  • is it possible to have one domain on two ips (one for http, one for https)?
  • is it possible to have an ssl host with the same user as the regular one?
share|improve this question
1  
Welcome to Server Fault, a site for IT professionals. Many of us think that where your setup went wrong was trusting the administration of your server to cPanel/WHM, tools over which you have little control and which manage the server in their own (sometimes incomprehensible) ways. Almost none of us would use cPanel/WHM for anything serious, and if I inherited such a server, it would be the first thing to go into /dev/null. Then there's the issue of your not using www, which is probably the cause of your immediate problem... –  Michael Hampton Sep 28 '12 at 0:53
    
Thanks for the welcome. I didn't realize that this was a wrong place to ask these questions. Now you made me look stupid, so I'll go back to my kindergarten and leave programming to IT professionals :D Bad jokes aside, you sound like someone who knows if it is possible to have a same domain and two IPs, one for HTTP and one for HTTPS? Oh, and thanks for the link for www. Useful info! –  Vanja D. Sep 28 '12 at 1:11
    
Sorry, you can't really do that. As for the rest of your questions, I suggest a forum dedicated for webmasters, or cPanel users in particular, would be a better bet. –  Michael Hampton Sep 28 '12 at 1:11
    
Damn! So, how do the big guys do it (fb, google)? They all have same domains for both, but I guess different IPs. BTW, StackOVerflow is full of WHM questions being closed and advised to go here. I was mislead by community. Very sorry. –  Vanja D. Sep 28 '12 at 1:21
    
It's not that we don't want to help, or that it's entirely off topic; we are just mostly unable to help with cPanel as it's not something we generally work with. As for the big guys, they usually have dozens or hundreds of IP addresses answering. –  Michael Hampton Sep 28 '12 at 1:32

1 Answer 1

Since I had trouble understanding the "dedicated IP" thing for SSL, I share what I've learned today, since I couldn't find it nowhere on the web.

In short, the https and http of a single A record should both be on a dedicated IP.

When you have a single domain on a shared IP and you want to add an SSL certificate (and you get a dedicated IP for that purpose), you should first change the DNS of that domain to point to the new (dedicated) IP, move the domain/account to the new IP in WHM and then install the certificate.

If you are not using an external DNS, you maybe don't need to edit DNS, I guess WHM does it for you.

All of which makes perfect sense, when you've had enough sleep...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.