How to migrate to EasyEngine with SSL, and test site before going live?


#1

I love EasyEngine’s how fast and slim EasyEngine is! I currently have a website already up with a PaaS security service service, but it’s not as fast as it could be with EasyEngine.

I want to migrate my existing server with little interruption as possible, but be able to test the SSL certificate at the same time. Here is what I was thinking:

1 - Create a new server (let’s call it server2), and have DNS point requests for secure.example.com point to server2
2 - Install EasyEngine and a new SSL certificate on server2
3 - Install and test WordPress, Woocommerce, etc. on server2
4 - Drop the sub-domain name “secure” from server2 EXCEPT for HTTPS requests.
5 - Edit the DNS to point to new server2
6 - Delete server1
7 - Continue to point all HTTPS requests to https://secure.example.com

How would I accomplish Steps 1, 2, and 7 with EasyEngine?

Thanks!


#2

You can check https://rtcamp.com/easyengine/docs/site-migration/

For SSL:
copy ssl certificate from old server to /var/www/example.com/crt/
Add ssl rules for nginx

  
ee site edit example.com  
server {  
    listen 443 ssl spdy;  
    server_name example.com;;  
    ssl_certificate /var/www/example.com/cert/example.com.crt;  
    ssl_certificate_key /var/www/example.com/cert/example.com.key;  
 #... other stuff  
}  

#3

Hi @ericarnoldmann,

I hope your query is resolved. I am closing this support ticket for now.

Feel free to create a new support ticket if you have any queries further. :slight_smile:


#4