Launch Website & Enable SSL
This will determine our DNS settings to point the final URL to the production website.
For this example, we are going to use “millcreekcommon.org”. In this scenario, the client has a final URL (managed in Hudson’s Cloudflare account) that is pointed to a temporary website, until the production website goes live. The development environment for this lives on the Hudson Creative server.
To learn more about the difference between development and production environments check this link out!
In this scenario, the development environment was created using the temporary subdomain “mcc.hudsoncreative.com”. This allowed our team as well as the client’s team to access development progress and provide feedback.
Next, we want to open up wp-config.php within this folder and change our site URL configuration:
Fire up your SQL application and select the database driving our development website:
Export all the tables in the database as an SQL file:
Next, we find all instances in this SQL file of the old URL and change it to the final URL. In the video below I do a simple find and replace all. Don’t forget to save!
Now just import the SQL file you saved into the database that should still be selected in your SQL application.
Open up the terminal and make an SSH connection to the Hudson Creative server.
Run the following commands:
– “cd /etc/nginx/conf.d/”
– “ls”
You will see the three configuration files for our final domain here. The only difference you will see in the screenshot below is that our millcreekcommon.org.ssl.conf file does not have “.bak” at the end. That is because we have already configured SSL for this client.
Next type into terminal:
– “cp yourfinaldomain.com.ssl.conf.bak yourfinaldomain.com.ssl.conf”
– “ls” <- just to verify the change was made
– “service nginx restart” <- to restart the server after committing the change.
Your website has been launched with SSL compatibility, just flush the DNS cache before previewing!
Rundown this checklist:
– Make sure all DNS is pointing to the correct server.
– If a splash page exists, set the home page to the new home page.
– Make sure all redirects are installed if necessary.
– Make sure all pages are formatted for mobile.
– Make sure all titles, meta descriptions, and H1s are in place.
– Make sure the site is public (WordPress back end isn’t set to “discourage search engines from following and indexing).
– Additionally, make sure no pages or posts on site are drafts or set to non-index (using Yoast plugin).
– Do a quick Google search if the site previously existed, and click the link to make sure it is showing the new site.