Add domain

From INIwiki
Jump to: navigation, search

Setup an SSL domain with Ngnix, HAproxy, Shorewall and Apache

Contents

[edit] Assign a public IP

[edit] crt generation

openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.com.key -out yourdomain.com.csr

[GoDaddy]

[edit] Upload to GoDaddy

Past the contents of this file into GoDaddy web page

cat yourdomain.com.csr

[edit] Download the .zip file after creation

GoDaddy will provide a random numerical .zip file. Extract this sip file

unzip randomnumberfile.zip

This will give you two files; randomnumber.crt and gd_bundle.crt

[edit] Combine certs from GoDaddy (as needed)

These files need to be combined for Nginx use. The Rendom number file MUST be first

cat randomnumberfile.crt gd_bundle.crt > domainname.com.comb.crt

[edit] Configure Nginx

[edit] Configure Shorewall

[edit] Configure HAProxy

[edit] Configure DNS Master

[edit] Configure DNS Slave

[edit] Configure Apache vhost

[edit] Create Apache content folder

[edit] Restart Everything

Personal tools