Recovering Wordpress link from pfsense
-
I just tried that, still no dice.
Does this mean I'll also have to somehow modify my wordpress settings? My LAN IP address has also changed from when I first had my wordpress site.. I don't know if that'll make a difference.
-
I just tried that, still no dice.
Does this mean I'll also have to somehow modify my wordpress settings? My LAN IP address has also changed from when I first had my wordpress site.. I don't know if that'll make a difference.
Yes it does. Easiest way is to do a database dump and a search for the old LAN IP address and replace each instance with the new LAN IP address. Notepad++ is your friend here. Once that's done restore your database and restart the database and you should be all set.
-
b.t.w. is the wordpress site running on 443 with https or on http :80 ?
And make sure the browser aint doing some automatic cached hsts redirect..Whats the current effect of 'no dice' ? Browser times out? Shows any error wordpress page? Other?
Edit..
(Oké screenshot shows the forward being on HTTP :80 ..) -
sorry i was vague.
no dice meant it still timed out. It'll say site can not be reached. took too long to respondThe wordpress site is using the default 80 & 443 ports.
I did a csv dump of mysql database and looked for the old IP address but nothing came up. i think it's because I have it tied to my ddns so it would be something like mputtr.com rather than an ip address
-
If you currently visit the http://[WordPressServer-Local-IP-Address]/ does that work at all?
Can you ping that ip, does it run a firewall of its own?The webserver that runs the Wordpress site should likely be able to respond when accessed through its IP address with 'some' webpage. If that doesn't work then dns probably wont help, and pfSense can do its best to forward traffic to a non functioning webserver, but that wont make it magically work either.
-
I tried directly typing in the IP address with the port #80 and i have the same issue.
I tried to search the entire sql dump of the old IP address and nothing turned up. -
So i guess at this point its more a Wordpress issue than one of pfSense. I know very little about Wordpress.. maybe Jailer can help, or perhaps the Wordpress forums would be a better place to start.
Is Apache running on the Wordpress machine? Doe the logfiles of Apache show its starting properly and binding to the :80 socket?
Once the Wordpress website itself works locally, then we can try and check further how to make it accessible through its dns name, and over pfSense's wan-ip.
-
hmm, maybe my wordpress setup is completely borked. I just tried to reinstall and it wouldn't even run the php file to do the initial install… I checked the apache log files but i don't really know how to read it.
i'll probably have to try to start my wordpress from scratch and restore everything. -
If you have it set up with a domain name then you won't be able to access it locally without NAT reflection. Wordpress is rather finicky about that.
I misunderstood your post and thought you had it running locally on your LAN and not exposed to the internet. Your port forward needs a little work. Change the destination to WAN address and your redirect target IP should be the local IP of your wordpress installation. Do the same for HTTPS and you should be all set.
-
If you have it set up with a domain name then you won't be able to access it locally without NAT reflection. Wordpress is rather finicky about that.
I misunderstood your post and thought you had it running locally on your LAN and not exposed to the internet. Your port forward needs a little work. Change the destination to WAN address and your redirect target IP should be the local IP of your wordpress installation. Do the same for HTTPS and you should be all set.
You sir… are a magician.
Now my main site works!!!!!!!
i just have to figure out why my 2nd site doesn't work.. since it's just the same link with "wedding" as the host name. I'll have to see what else i need to change. -
This post is deleted!