Watch a staging website¶
A staging website is a copy of a live site where you test changes. It should stay behind a password, and it should still work. One monitor does both: it checks the page with the password, and its Basic Auth warning tells you when the website stops asking for it.
Before you start¶
You need the user name and password the staging website asks for in the browser (Basic Auth), and to be an Owner or Admin of the account.
Steps¶
- Add a monitor with the staging website's
https://address. - Under Advanced settings, tick This is a staging or test website. The Monitors list marks it Staging.
- Under Basic Auth, type the User name and the Password. The password is only sent over
https://. - Leave Warn me when Basic Auth is off on beside the password, then click Add monitor. Each check first asks without the password, to see that the website still asks for it, then checks the page with it (how the Basic Auth warning works). It comes with the paid plans. For a monitor you added before, switch it on in the Basic Auth section of its Settings; it is saved at once.
- On the monitor's page, check that What we check lists Uptime, switched on, with Basic Auth warning on under it.
What you get¶
- An email when Basic Auth is off and anyone can open the website, with reminders while it stays off. The monitor shows Needs attention, never Down.
- Down and Up again for the website itself, as for any monitor, since the check sends the password.
If something is wrong¶
| You see | What to do |
|---|---|
| Basic Auth password refused: it was probably changed. | Save the current user name and password under Basic Auth in the monitor's Settings |
| Basic Auth is off since 09:14. Anyone can open it. | Turn the website's Basic Auth back on |
| The password is not sent: the address is not https | Change the address to its https:// form |