decausma
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Connect to WP on RPI from Internet with IPRoss thanks a million!
your detailed explanation helped me figure this out and it now works.
So thanks a million.
You are right also that I was on the right track.It turns out the thing i did wrong in the hosts file is, that I wrote:
w.x.y.z https://decausmafamilyblog.com
without the https:// it then worked.
Just out of curiosity, I’m not planning to do this but hey…. if I where to put https://w.x.y.z as the blogs name, could I then connect to it from the internet by just typing its IP addressee? I think i tried that as well but didn’t work, but currently I am unsure why it wouldn’t work…
Anyways thanks again for your swift and competent help
It is much appreciated.All the best
svenForum: Localhost Installs
In reply to: Connect to WP on RPI from Internet with IPDear Ross,
thanks a lot for your friendly help and suggestion. I agree that this is a very temporary setup. Basically my dad and sister have decided they need a blog and because I am the computer guy in the family, here we are. I thought I could run a wordpress on a raspberry pi for a while and let them get familiar with it, try a few themes and initial blog posts etc. before having to go for a paying solution with a domain and a hoster (secretly i also think their enthusiasm might wane before that becomes necessary :)) If we decide to bring it out to the world I am sure I’ll be able to port the blog to a hoster.
Now for the actual fix. I have probably explained it badly and or I don’t understand your solution very well. Firstly, I currently don’t have a domain for the blog. I tried an idea along the lines of changing the hosts file, where in the blogs wp-config.php file I changed the WordPress Address (URL) and Site Address (URL) to https://site.local and then in the hosts file of the connecting (from internet) computer i linked https://site.local to the IP from my isp.
It didn’t work but I don’t remember why. I think the browser was still redirected to the local 192.168.x.x address which it couldn’t find. Anyways I will try this solution again and see if I just did something wrong. Maybe the browser cached the site or something.
Is this your suggestion? or are you saying i should change the hosts file of the raspberry? Can you explain why that would help? What can I do to explain my problem better?