At boot time, a phone automatically tries to find out where to go and retrieve its settings from. You can configure your phone to retrieve its settings using one or more of the following methods:
Default setting, server URL priority:
Redirection (Cloud)
PnP (Local network)
tr69
You can change the order via the web-interface, go to:
Advanced Settings - Update - Provisioning Order