I've set up a webserver (Apache2) on my Raspberry Pi 3. The latest versions of PHP, MariaDB and Wordpress are running on it.
I can access the site on my LAN on different devices, however, I do not reach it when connecting to it via the internet.
I know my public IP and the IP of the PI, I've set up port-forwarding and I can see on my Raspberry Pi's access log that e. g. my mobile phone tried to establish a connection.
I was able to see the default Apache-webpage when I connected to my webserver via internet but since Wordpress is running it throws a time-out-error when accessing through the internet. In the log HTTP status code 301 appears.
My router and the PI are listening on Port 80. I used the Open Port Check Tool to find out if it can see my service; it does.
Do you have any idea to solve my problem?
* EDIT 02 / 13 / 2018 *
The result of
Curl -I XXX.XXX.XXX.XXX is the following:
HTTP/1.1 301 Moved Permanently
Date: Tue, 13 Feb 2018 18:14:03 GMT
Server: Apache/2.4.25 (Raspbian)
Content-Type: text/html; charset=UTF-8