Question

how do i change my index.html using filezilla

I have successfully installed LAMP and connected to my droplet via Filezilla.

How do i change the “It works! This is the default web page for this server. The web server software is running but no content has been added, yet.” page when someone visits the site?

according to filezilla there is an index.html file in folder: home/(my user) according to the forums my index.html file should be in the root directory. but when i attempt to open the root folder to place the index.html file in it it get this: Error: Directory /root: permission denied Error: Failed to retrieve directory listing


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

<b>“according to filezilla there is an index.html file in folder: home/(my user)”</b> <br> <br>Not necessarily. It depends on how you installed Apache. Did you follow a guide? The default root directory is the one noted by Kamal. <br> <br><b>“Error: Directory /root: permission denied”</b> <br> <br>There’s your clue. The user you’re logged in as does not have “write” permissions. <i>See</i> <a href=“https://digitalocean.com/community/articles/linux-permissions-basics-and-how-to-use-umask-on-a-vps”>Linux Permissions Basics and How to Use Umask on a VPS</a>.

You need to upload your files to /var/www which is where the default index.html file is.