Hi, I would like to ask for help. I already successfully installed one website on Virtualmin with Ubuntu 20.04. Now I’m trying with Ubuntu 22.04 but facing some problems.
When I want to change DNS servers in Hostname and DNS Client I can’t save it
" Failed to save DNS configuration : ‘’ is not a valid domain name"
I can see wordpress website but can’t login
ERR_TOO_MANY_REDIRECTS
I added site to cloudflare there are forced redirects to https.
I’m stuck I reinstalled it 3 times whole thing and have the same problem all the time. Any idea please?
I think that when you force ssl too many times in server configurations. Either remove force ssl at cloudflare or VM. Also if you use Cloudflare don’t you change dns to Cloudflare not on VM.
They should have 2 or more registered Domain Name Servers.
When I added
define(‘WP_HOME’,‘http://example.com’); define(‘WP_SITEURL’,‘http://example.com’); to wp config and added htaccess file it was working. Then I couldn’t activate theme, and generate pasword for user so I tried to reinstall wordpress and I can’t access it again. It was bugged.
I’m doing everything the same way as on my 20.04 server there are no problems. Cloudflare is the same same structure… Istallation is ok, Virtualmin is ok, I can see website on url but example.com/wp-admin is error ERR_TOO_MANY_REDIRECTS. I want to keep 22.04 becaus of newer Mariadb and php 8. I had to upgrade it on 20.04 but it looks like it bugged right after Virtualmin installation.
Hi, thanks for idea. I changed https to http://www in database and it is working now but again I tried to add user in wordpress and button generate password is doing nothing, theme activation is just loading it is still bugged.
Edit: I found the fix. In Cloudflare SSL/TSL option have to be set to Full not Flexible. It is working now.