If you are getting the 404 error for the http://IP address/~username Then follow the below steps >> Login to the…