This question already has an answer here:
I am a newbie in the field of website making. I currently made a website using Django and host it using digital ocean, I learn all of it by myself and I am very interested. However, I would like to learn google search engine optimization now and let people have a higher chance of visiting my website. And I wonder, because I am just testing my website status so I use Digital Ocean, what if in the near future, I change the hosting location ,and thus the ip address change, could google still keep the rank of the website when searching a particular website.