SSL Certificates On Localhost and Production Hosting
-
I want to develop an HTTPS WordPress site on localhost then copy that site to HTTPS production hosting. Am I correct that I will use a different SSL certificate (e.g., a self-signed certificate) for localhost development than I will use for production hosting because the localhost certificate will be for the localhost domain only and the production SSL certificate will be for the production domain only? The way that I’m thinking about doing this is:
1. Create a self-signed SSL certificate for the localhost domain
2. The local host WordPress site will be developed for https://localhost/
3. Create a second SSL certificate for use on the production web hosting server (e.g., https://example.com)
4. When the https://localhost/ website MySQL database and WordPress files have been successfully copied to the production web hosting server, replace all occurrences of https://localhost/ with https://example.comThis isn’t an exhaustive list of the tasks required to copy the localhost WordPress site to the production web hosting server. It is a description of only the high-level tasks associated with developing a localhost https WordPress website and copying it to an https production web hosting server.
Is my understanding correct?
Thanks In Advance For Your Help!
- The topic ‘SSL Certificates On Localhost and Production Hosting’ is closed to new replies.