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

I bought an SSL certificate from GoDaddy, installed it on my EC2 instance and when I visit the IP of the instance directly with https the certificate shows up installed fine (though it warns me that something may be wrong because I'm not visiting it from the right domain name.)

But when I went to GoDaddy and changed my A record to point to my instance's IP address, when I go to the HTTPS site it forwards me to HTTP - i.e. the SSL certificate doesn't show up anymore.

What can I do about this? If you need more specifics I would be glad to provide.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You've probably configured the SSL site that is associated with the domain name to redirect back to the HTTP site, while the IP address is a different vhost. Check your per-vhost access logs to see which one gets the log entries for each request, and then compare/contrast/examine/fix the config entries as required to achieve the desired result.

share|improve this answer
    
Thanks for the reply! I'm so sorry to sound like an idiot but I honestly lost you after you said that you think my the SSL redirects back to the HTTP site. I'm pretty new to this site. Is there any tutorial or articles I should read that can give me more specifics on how to do something like check the per-vhost access log (not sure what that is) and figure out what's going on. Thanks again for your help! –  Dan Shipper Aug 19 '11 at 5:30
    
It sounds like you're pretty far out of your comfort zone. Perhaps it might be best to drop into chat (we all hang out in "The Comms Room" and talk the problem through with People Who Know. Diagnosing your problem via comments is unlikely to end well. –  womble Aug 19 '11 at 5:40
    
Ok :) thanks I think I figured it out (it was a DNS issue) –  Dan Shipper Aug 19 '11 at 6:10

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.