Report this

What is the reason for this report?

how do i change my index.html using filezilla

Posted on January 2, 2014

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



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!

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.

<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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.