Last updated
In case you have problems with DNS servers.
The error looks like this:
We will show two ways to solve the problem, through SSH-access and through sFTP-access.
Use the Nano utility to browse and edit the resolv.conf file where you configure our server’s DNS. Enter the command
The file editor opened before us resolv.conf
This file must specify nameserver for your OS.
Enter this text in the file:
Press Ctrl + X to exit the file. Then press Y to save the changes.
Then press Enter to keep the file name as it is.
Connect to our server via sFTP. Next we need to go to the directory /etc and find there the file resolv.conf
Open it with any text editor.
We need to add the optimal nameserver here, we will point them out several, in case of problems with one of them.
Great, save the file and upload it to the server.