Hello everyone!
I have a weird error which causes (I think) a loopback problem, thus I can't access my own website on the IP which is attached to the domain.
I have a fixated IP with a domain attached to it. I managed (don't even ask) to get an SSL certificate for it via Lets Encrypt. But now I need to renew the cert, and the certbot can't connect to the server on the same machine.
When I go to Safari and open mydomain.de, I get HTTP error code 400.
If any OTHER computer (different IP) opens the website, it is displayed correctly, with SSL.
So I tried to fix the 400 error:
Now that is weird. The ServerRoot is set to "/usr". Where does the second /usr come from?!?!?
Additionally I have set up these properties:
No additional /usr in there either.
How can I fix this loopback/error 400 problem?
I have a weird error which causes (I think) a loopback problem, thus I can't access my own website on the IP which is attached to the domain.
I have a fixated IP with a domain attached to it. I managed (don't even ask) to get an SSL certificate for it via Lets Encrypt. But now I need to renew the cert, and the certbot can't connect to the server on the same machine.
When I go to Safari and open mydomain.de, I get HTTP error code 400.
If any OTHER computer (different IP) opens the website, it is displayed correctly, with SSL.
So I tried to fix the 400 error:
Code:
$ sudo /usr/sbin/apachectl configtest
AH00112: Warning: DocumentRoot [/usr/usr/local/var/www] does not exist
Syntax OK
Additionally I have set up these properties:
Code:
<Directory /usr/local/var/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
require all granted
</Directory>
<Directory "/Users/stike/Sites/">
Options Indexes FollowSymLinks MultiViews
Require all granted
</Directory>
No additional /usr in there either.
How can I fix this loopback/error 400 problem?