I have configured ELB with SSL certificate. Listener configuration for ELB is shown below -- 443 (HTTPS, Certificate: www.xyz.com) forwarding to 80 (HTTP), 80 (HTTP) forwarding to 80 (HTTP)
Domain Registrar setup with Godaddy CNAME record entry www
There is no entry for A-Name record with my domain xyz.com
Apache .htaccess setup
RewriteEngine on RewriteCond %{HTTP_HOST} ^xyz.com$ [NC] RewriteRule .* https://www.xyz.com [R=301,L] When I go to browser and type xyz.com it is not redirecting it to https://www.xyz.com When I type www.xyz.com, it is not redirecting it to https://www.xyz.com
I do not have any VirtualHost setup on ELB EC2 instances.
Can someone help me out to resolve this problem.