So previously I have been playing around WordPress on my Raspberry Pi, using Linux+Nginx+MaraiDB(MySQL)+PHP.
There are a lot of tutorials available online about LNMP+WordPress.
The main reason I decided to move the WordPress is that I encountered trouble when using Ngrok (Network Address Translation) penetration + the purchased domain to publish my website.
The first trouble is the static IP of pi. When clicking the link, it would jump to a previous IP address and nothing could be found, of course.
Set the static IP on your pi and change the marked field to your desired value in phpMyAdmin will fix this problem.
To access the localhost WordPress site from outside, I registered Sunny-Ngrok.
Adjust the DNS configuration in Namesilo:
However, the ‘tunnel not found’ error occurred even though the Sunny-ngrok tunnel is connected on pi.
I have two tunnels, one is free and another I purchased because the free tunnel is not very stable. The provided domain can be used without any problems, while the customized domain encountered such problem. I think the reason behind it might still be related to the DNS configuration. However, when I switch to the free tunnel, “theparnassus.xyz” works-still unstable though. Therefore I decided to stop using this method and turned to using a paid webhost.