Nothing appears to be incorrect with the internet connection or URL. Nonetheless, I'm getting a 'Safari cannot find server iPhone' message. Then it's possible that the Safari browser is mixing together data from prior surfing sessions. To resolve this issue, clear Safari's webpage data and cache.
Step 1: On your iPhone, go to the 'Settings' app and then to 'Safari.'
Step 2: Select 'Clear History and Website Data' from the drop-down menu. Then, launch the Safari browser again and load a webpage to see if the problem has been resolved.
Network settings should be reset.
After clearing the cache and changing the DNS settings, the Safari cannot connect to the server iPhone bug reappeared. Then, reset the network settings, which will erase any Wi-Fi passwords as well as DNS configurations.
Step 1: Select 'General' from the 'Settings' menu. To proceed, select 'Reset' from the drop-down menu.
Step 2. Finally, touch 'Reset Network Settings' and confirm that you want to change the settings in the dialogue box that displays.