error 403 Forbidden

MStaut

New member
Joined
May 8, 2013
Messages
2
I recently made a website and wanted to put it online. The Domain adress we bought (www.gonvurstjen.be) doesn't seem to work. I allways get the error 403: Forbidden, You don't have permission to access...

If I go to the link http://www.gonvurstjen.be/web/index2.html it does work. Does anyone has an idea on how to fix this so that the url www.gonvurstjen.be will be linked to the homepage (and doens't give the error anymore)?

Kindest regards
Matthias
 
Check that the index.html file has correct ownership and file permissions. File permissions on index.html should be 644

If there is a .htaccess file in public_html, then delete the file or rename it, to see if the problems goes away.

Edit: Nevermind. I checked your site, and it seems it is missing a index file. Make sure that one of these files exist inside public_html

index.html
index.php

If none of them exist, then create one of them to solve the problem.
 
I think I understand your problem now. But please understand that you need a index.html or index.php file, and missing that is your problem. You want to have http://www.gonvurstjen.be/web/index2.html at the front page on http://www.gonvurstjen.be/ ? If so, then create a index.php file directly inside public_html wich should have this content:

Code:
<?php header( 'Location: [url]http://www.gonvurstjen.be/web/index2.html[/url]' ); ?>
 
Last edited:
I think I understand your problem now. But please understand that you need a index.html or index.php file, and missing that is your problem. You want to have http://www.gonvurstjen.be/web/index2.html at the front page on http://www.gonvurstjen.be/ ? If so, then create a index.php file directly inside public_html wich should have this content:

Code:
<?php header( 'Location: [url]http://www.gonvurstjen.be/web/index2.html[/url]' ); ?>

It works. Thanks a lot!
 
Back
Top