Static IP address changed to another static IP address. What needs to be changed?
My static IP was on Verizon's network, who are subletting their Fios lines to Frontier. Now I am given a new static IP from Frontier's data network. May I have a ballpark list of configurations to change to the new IP? It is like me to miss one thing and cause a problem. I have a LAMP with proftpd & ssh tunneling.
Solution 1:
Checklist:
- Firewall: if you've put a firewall rule in which denies all traffic which where not designated for your IP, you need to change that.
- Interfaces file: Change the static IP in
/etc/network/interfaces
. This file is re-read when the network connection is set up again. - ProFTPd: the address on which ProFTPd is listening on
- Apache: the address on which Apache is listening on. Also check your virtual host settings like
<VirtualHost 1.2.3.4>
andNameVirtualHost 1.2.3.4
. - MySQL: check the address it's listening on. Usually, this is set to listen on all addresses.
- DNS: all records which point to your IP.
-
To make sure you did not forget anything, search all files on your server for the old IP address using:
sudo grep -HrnF '1.2.3.4' /
This command shows every occurence of the IP address
1.2.3.4
asfilename:line: line with 1.2.3.4
.