jkhania
Posts: 3
Joined: Thu Jul 02, 2015 7:15 pm

Worpress - DCHP New IP Address

Sat Jul 04, 2015 3:46 pm

I've run into a bump. I've installed Apache and Wordpress but my router has assigned my pi a new IP address 192.168.3.8 instead of 192.168.3.10.

Now when I try to log into the wordpress admin paged it auto routes its to .10. I've check and my router doesn't allow me to assign IP addresses without doing a bunch of networking voodo and my model isn't supported by dd-wrt.

Is there a place I can update the IP address in the wordpress php files or have them updated across the board?

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Worpress - DCHP New IP Address

Sat Jul 04, 2015 3:51 pm

Any machine that runs as a server on your LAN should have a fixed IPv4 address. You can normally do that in one of three ways

1. on your router control panel pages
2. on your DHCP server (if you run one that is independent of your router)
3. by hard coding an address on your RPi

Option one is best if your router supports it.
Option three can be done from the GUI or by hard coding in /etc/network/interfaces.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

jkhania
Posts: 3
Joined: Thu Jul 02, 2015 7:15 pm

Re: Worpress - DCHP New IP Address

Tue Jul 28, 2015 8:22 pm

Thank you DougieLawson.

Return to “Networking and servers”