Hello j94305,
(1) my Public IP adress is static for sure .
(2) port forwarding is absolutely ok (a port check tells me that port 80 and 8080 are open for my server ip).
(3) host is correctly configured
EDIT: SOLVED MY PROBLEM! :
In wordpress, edit wp-config and add:
define( 'WP_HOME', 'http://my-site.com' );
define( 'WP_SITEURL', 'http://my-site.com' );
SAVE
in phpmyadmin go to wp-options table and search in "option name" column for HOME URL et SITEURL.
Changed 127.0.0.1 to http://my-site.com for each and clik execute each time.
Made a:
curl -I http://my-site.com
gave a:
$[i] curl -I http://mon-site.ocry.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
Server: nginx/1.14.0 (Ubuntu)
Date: Sun, 22 Sep 2019 12:25:57 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Link: http://http://my-site.com/index.php?rest_route=/; rel="https://api.w.org/"
You can see on last line LINK that there are 2 http://
So i made in server a:
sudo systemctl restart php7.2-fpm.service
sudo systemctl restart nginx.service
sudo systemctl restart mariadb.service
And in the phone i used (to connect externaly to the server) erases all navigator cache.
That all. Thank you. Does I need to mark this as solved in title?
(1) my Public IP adress is static for sure .
(2) port forwarding is absolutely ok (a port check tells me that port 80 and 8080 are open for my server ip).
(3) host is correctly configured
EDIT: SOLVED MY PROBLEM! :
In wordpress, edit wp-config and add:
define( 'WP_HOME', 'http://my-site.com' );
define( 'WP_SITEURL', 'http://my-site.com' );
SAVE
in phpmyadmin go to wp-options table and search in "option name" column for HOME URL et SITEURL.
Changed 127.0.0.1 to http://my-site.com for each and clik execute each time.
Made a:
curl -I http://my-site.com
gave a:
$[i] curl -I http://mon-site.ocry.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
Server: nginx/1.14.0 (Ubuntu)
Date: Sun, 22 Sep 2019 12:25:57 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Link: http://http://my-site.com/index.php?rest_route=/; rel="https://api.w.org/"
You can see on last line LINK that there are 2 http://
So i made in server a:
sudo systemctl restart php7.2-fpm.service
sudo systemctl restart nginx.service
sudo systemctl restart mariadb.service
And in the phone i used (to connect externaly to the server) erases all navigator cache.
That all. Thank you. Does I need to mark this as solved in title?