Cannot invoke WP at Digital Ocean

My domain is: nilavema.space

I ran this command: https://www.nilavema.space/wp-admin

It produced this output: Your connection is not secure (Firefox)

My web server is (include version): WordPress 5.03

The operating system my web server runs on is (include version): Ubuntu 18.04

My hosting provider, if applicable, is: Digital Ocean

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Digital Ocean’s proprietary dashboard

The let’s encrypt certificate seems fine as verified at https://www.ssllabs.com/ssltest/analyze.html?d=nilavema.space

A possible hint that can explain why am I having this problem is the browser’s response to entering the url https://www.nilavema.space/wp-admin - the url gets rewritten to

https://142.93.199.163/wp-login.php?redirect_to=https%3A%2F%2Fnilavema.space%2Fwp-admin%2F&reauth=1

What did I do wrong?

You need to tell WordPress that your Site URL is https://www.nilavema.space .

https://codex.wordpress.org/Changing_The_Site_URL

3 Likes

Thank you @_az - that was the problem (I discovered this a little while ago). More precisely, WP installation on Digital Ocean asks for the domain name, on the first time through - and I supplied that string. There seem to be a bug in that installation shell script, resulting with the siteurl variable got set to the IP number instead.

2 Likes

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