K
K
ksaverius2020-03-25 16:27:14
open server
ksaverius, 2020-03-25 16:27:14

How to resolve 403 Forbidden error on local server?

Hello.
Tell me, please: after trying to open the site on a local server ( Open Server ) in open access, the site stopped opening on the computer at all. I get an error 403 Forbidden , below the line nginx/1.15.8
Very much a beginner, so here is the chain of my actions:
1. I made a website on Open Server via Wordpress
2. I decided to look through the phone, climbed in the Open Server settings , something didn’t work out , threw off the settings.
3. Almost at the same time, I added .ru to the site address in the Wordpress settings , it was just sitename , nowsitename.RU
4. Now, when you try to open the site through the Open Server menu , the site gives an error.
I suspect that the problem is in permissions and, apparently, this is somehow connected with the renaming of the URL. In the wp-config file I tried to write both the old name and the new one.
Please tell me how to fix it. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Uvarov, 2020-03-25
@ksaverius

I made a site on Open Server through Wordpress - rather, on the contrary, a site on wordpress, a server through Open Server
On the case: you need to write a new site address in the hosts file if you use a virtual host: Google: setting up an nginx virtual host
127.0.0.1 sitename.RU

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question