How to do Maintenance Mode

Was a feature for Maintenance Mode ever created that can be done from the UI?

I see an article from 2017 detailing a custom method that whitelists specified IPs. Is that the lastest thing or can someone point me to what is the newest/best method?

We’re running a migration this weekend and expect a little downtime so like to handle a custom 503 maintenance page for any bots/users.

I would try something like this Worker. It requires the $5/month plan so you can use it on your domain, but it’s not that difficult to pull off. Create the Worker, then assign it to a route of example.com*