How to simply point my localhost(127.0.0.1) to my /home/user/ dir?

How do I simply point my localhost to my home directory? When I type 127.0.0.1 on browser then it will redirect to my Home dir.

4

1 Answer

To test your FTP program you could simply use the sftp protocol and point it to your localhost.

For example, in nautilus you would go to Connect to Server and enter the location sftp://localhost. Just enter your login info and you will be automatically taken to your home directory. Now, this also applies for the usage of your ftp program. Make sure it supports sftp.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like