AMH 4.1 Detailed Tutorial on Using SSL

AMH 4.1 Detailed Tutorial on Using SSL

1. Preparation conditions:
1. SSL certificate 1 I just recommended a few: Low-cost SSL collection (Part 3)
2. Install SSL module in AMH 4.1 backend

2. Generate CSR online
Generate a CSR at http://www.topssl.net/online-csr-generator and purchase an SSL certificate.

3. AMH backend settings Under Virtual Host-SSL Configuration, select the site to be used. There is a place below where you need to fill in the code:
Key: The SSL merchant will send it to you, just paste it directly.
Certificate: This is the CSR code used in the second step to apply for SSL.

4. Set the domain name 301 to jump to https
Install the AMRewrite module in the AMH backend and add 1. The rules are as follows:

 # Force non www if ($host ~* ^www\.(.*)) { set $host_without_www $1; rewrite ^/(.*)$ $scheme://$host_without_www/$1 permanent; } # Force HTTPS if ($scheme = http) { return 301 https://$server_name$request_uri; }

<<:  ByteChef: $5.5/month/U2250/2GB memory/160GB space/unlimited traffic/1 IP

>>:  PapasHosting: $1.99/month/unlimited space/unlimited traffic/cPanel panel

Recommend

CloudCone: $15/year/256MB memory/10GB SSD space/1TB traffic/KVM/Los Angeles

CloudCone, a recently active hosting provider, pr...

Deploy a fixed domain name for a dynamic IP VPS/NAT VPS using CloudFlare API

Previously introduced: using AliDDNS to deploy fi...

Digitalocean gives you a $10 discount code (September)

digitalocean released its latest promotional code...

TOTYUN 2 cores 2GB memory 20Mbps port unlimited traffic Hong Kong KVM VPS review

Details : TOTYUN: $8/month/1GB RAM/30GB SSD space...

My Custom Hosting: $4/month/1GB RAM/20GB storage/2TB bandwidth/KVM/Canada

My Custom Hosting, founded in 2009, has a very go...

Gandi offers free 1-year Standard SSL for new domain registration or transfer

More information: https://www.gandi.net/ssl There...

Webhostingpad long-term discount code

Webhostingpad was founded in 2005, and the monthl...

QuadHost: £10/year/512MB/10GB space/500GB bandwidth/KVM/Los Angeles

QuadHost, a British hosting provider, was founded...

MyVPS: $6/month/2GB RAM/50GB SSD space/unlimited traffic/KVM/Japan/Netherlands

MyVPS, a long-established Russian hosting provide...

CrownCloud: $17/year/256MB/20GB space/3000GB traffic/OpenVZ

CrownCloud is an Australian hosting company found...

Hetzner: €23.53/month/i7-2600/16GB RAM/6TB HDD/unlimited data/Germany

Hetzner, a long-established German hosting provid...