When you move your website to new subfolder, here’s how to redirect to subfolder using .htaccess.
How To Redirect HTTP to HTTPS using .htaccess file
Here’s how to redirect HTTP to HTTPS using .htaccess file in Apache web server. Use it to force HTTPS/SSL on your websites.
Convert .pem to .ppk using PuTTY
Convert .pem to .ppk using PuTTY to connect to Amazon EC2 instance from Windows. Amazon provides a .pem private key which cannot be directly used in PuTTY.