php - Is it possible for a LAMP server to change its IP whenver it needs to? -


it's dedicated server , have whm manage it. possible server has ip xyz now. after hour, need server change ip else , on.

so, hope makes sense, how achieve it?

a lamp server cares it's hostname, since don't want host site on ip address only. server point of view don't have change anything.

about changing ip: ip nothing server can set itself. ip assigned server isp , depends on server hosted. if it's self-hosted server fixed ip assigned cannot change. might able change asing support guys of hoster, pretty sure not change every hour.

you achieve - if need - example if host server in cloud. aws (amazon web services) example has called "elastic ip". that's pool of ip addresses can assign servers yourself.

the basic question is: want achieve it? because that's not need @ all.


Comments