Contents

Member Sign in

admin

Staging Server

AdminDocumentation.StagingServer History

Hide minor edits - Show changes to markup

Changed lines 7-8 from:

Step-By-Step: Change TO the Staging Servere

to:

Step-By-Step: Change TO the Staging Server

Added lines 30-31:

Going forward, once you've done this the first time, you can just remove the pound sign to switch to the staging server, and add it back to restore to the real, production server.

Deleted lines 29-30:

If you don't see the IP address 174.129.225.28, then repeat the steps.

Changed lines 5-8 from:

Once you are done editing, you would restore the configuration file, and then let Dave know that your staged changes are ready to be released. Dave will then do the necessary copying.

Step-By-Step: Change TO the Staging Server

to:

Once you are done editing, you would restore the configuration file, and then let Dave know that your staged changes are ready to be released.

Step-By-Step: Change TO the Staging Servere

Changed lines 17-23 from:

Now, test that the change is working:

  • In the command window, type "ping sermonsonline.com", then press Ctrl+C to cancel. You should see a message that says, "Pinging www.sermonsonline.com [54.147.32.67]..."
  • Close the command window

If you don't see the IP address 54.147.32.67, then repeat the steps.

to:

Now browse to sermonsonline.com and change to the Admin view. At the top of the sidebar you should see the word, "Staging". If you don't see that word, repeat the steps.

Changed lines 21-22 from:

Once we are done, you need to un-fiddle with your hosts file:

to:

Once we are done, you need to restore your hosts file:

Changed lines 29-32 from:

Now, test that you restored everything:

  • In the command window, type "ping sermonsonline.com", then press Ctrl+C to cancel. You should see a message that says, "Pinging www.sermonsonline.com [174.129.225.28]..."
  • Close the command window
to:

Now browse to sermonsonline.com and change to the Admin view. At the top of the sidebar you should see the word, "Production". If you don't see that word, repeat the steps.

September 01, 2016, at 02:37 AM EST by Dave Marney - Initial commit
Changed lines 1-39 from:

How to access the staging server

to:

The Staging Server is a copy of Sermons Online that can be used to test software updates and to edit wiki pages before releasing them on the real, production Sermons Online server.

To use the Staging Server, you need to make a temporary change to a Windows configuration file that changes the Internet address of sermonsonline.com on your local computer. While this temporary change is in effect, you would browse to sermonsonline.com to edit wiki pages as if you were using the real site. However, your actual changes would be saved on the Staging Server.

Once you are done editing, you would restore the configuration file, and then let Dave know that your staged changes are ready to be released. Dave will then do the necessary copying.

Step-By-Step: Change TO the Staging Server

First, change the configuration file:

  • Right-click on the Windows Start and select "Command Prompt (Admin)"
  • In the command window, type, "notepad drivers\etc\hosts"
  • Add the following line to the bottom of the file:
    54.147.32.67 www.sermonsonline.com sermonsonline.com
  • File > Exit and Save

Now, test that the change is working:

  • In the command window, type "ping sermonsonline.com", then press Ctrl+C to cancel. You should see a message that says, "Pinging www.sermonsonline.com [54.147.32.67]..."
  • Close the command window

If you don't see the IP address 54.147.32.67, then repeat the steps.

Step-By-Step: Change BACK to the Production Server

Once we are done, you need to un-fiddle with your hosts file:

  • Right-click on Windows Start and select "Command Prompt (Admin)"
  • In the command window, type, "notepad drivers\etc\hosts"
  • Put a pound-sign in front of the line you added earlier (that makes it a comment):
    #54.147.32.67 www.sermonsonline.com sermonsonline.com
  • File > Exit and Save

Now, test that you restored everything:

  • In the command window, type "ping sermonsonline.com", then press Ctrl+C to cancel. You should see a message that says, "Pinging www.sermonsonline.com [174.129.225.28]..."
  • Close the command window

If you don't see the IP address 174.129.225.28, then repeat the steps.

Added line 1:

How to access the staging server