Error Creating Web Page for the first time

Web hosting discussion, programming, and shared and dedicated servers.
4 posts Page 1 of 1
by ginof » Tue Sep 02, 2014 7:09 am
I've been following the FAQ at https://wiki.sonic.net/wiki/Web_Publishing_FAQ

I created the FTP and web page via the server directories tool.

I use Filezilla to upload my files. The FTP client changed me to /nfs/WWW_pages/login. Since the FAQ said this is ok, I proceeded.

I copied the files and the transfers went fine. I see the files in my directory.

But when I try to see them in my browswer at ginof.users.sonic.net, I get the following error:

Forbidden
You don't have permission to access / on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at ginof.users.sonic.net Port 80

my default page is named default.html. I tried changing the permissions to the file to read/write/execute for all user types (i.e. 777), but there was no difference.

Any ideas?

thanks,
by cdkeen » Tue Sep 02, 2014 10:22 am
The server is looking for a directory index file named index.html and directory indexing is disabled by default which is why when accessing ginof.users.sonic.net you were receiving that error. I corrected the permissions on your default.html file and created a special file named .htaccess that tells the server to look at default.html as the index, so now if you go to that url your page loads. Alternatively you could have reached it by specifying ginof.users.sonic.net/default.html . Let me know if you need additional assistance! Thanks for choosing Sonic.net!
cdkeen - Sonic.net System Operations
by ginof » Tue Sep 02, 2014 11:08 am
thanks! FYI, the FAQ says that default.html and several other variants are fine. If it really needs "index.html" it may be a good idea to change the faq.
by cdkeen » Tue Sep 02, 2014 4:13 pm
FAQ is now updated, Thank you! If you want to use a file named index.html (instead of the current default.html) remember to delete the file named .htaccess.
cdkeen - Sonic.net System Operations
4 posts Page 1 of 1