How To Fix Warning About ECDSA Host Key

We came across this issue when we were switching around the IP address of this website (sparkwebdev.com) and accessing it via terminal on two different servers. When we switched the IP address and then tried to access the newly assigned server we get this error, warning us that the ECDSA Host Key has changed and there could be someone spoofing around our server. It's not someone else, it's us. So we searched around and found that this command in terminal erases the host key and lets us sign in again.

ssh-keygen -R (ip address or url)

So now, we can continue along with our coding.