403 Forbidden error

Website URL socod.net

(please specify the URL of the site on which you are experiencing the problem)

Error Message

(please share the FULL error message you see, if applicable)

403 Forbidden

Server or website configuration is blocking you from viewing this page

Other Information

(other information and details relevant to your question)

I completely removed my semi-finished website (https://socod.net) , but it still displays “403 Forbidden” error .

You already answered your own question. If the folder of a certain website contains 0 files, it will raise a 403.

7 Likes

but, if i reinstall the web system, it still shows the 403 errors.

What software? How did you configured everything? Where does it shows 403? What did you expected to see?

Just stating “it shows 403” is far from enough for us to determine the problem.

5 Likes

software is Drupal
i just deleted the file index.php , and then removed the whole website.

Have you already installed it back? If yes,

Can you please share a screenshot of the current content of your htdocs? Does the software was actually installed into the correct place?

Also, please read the guide I shared above, as it contains many useful information.

6 Likes

i just coved the file index.php, then can not restore it , i deleted it.
i reinstalled the web system , if i create a index.html file , i can browse this file.
if i browse the file index.php, it will shows unexpected error.

I suspect it raised an error 500.

Since you mentioned you are using a CMS, is the DB configured correctly?

I cannot view the files however, did you deleted them again?

6 Likes

i can browse index.php and /user/login now , but i can not minutes ago . the domain still shows 403 error. i will login and try again.

It works for me though, no more 403.

However I do see mixed content, and your website indeed works with HTTPS, which means your site isn’t forcing an HTTPS connection.

6 Likes

yes , i can not configue it now .
the website seems runs properly now.
Thanks for your help

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.