0
I had a WordPress site located on a VPS, say the VPS's IP is 192.168.0.1.
At Namesilo I bought, for example www.example.com
, and bound it to 192.168.0.1.
A few days ago my old IP – 192.168.0.1 – wasn't available anymore, so I changed it to 192.168.0.2
, and went to Namesilo to change my domain's corresponding IP to the new one 192.168.0.2
.
When I open a browser and type www.example.com
like before, I can't open my WordPress site.
What do I have to do?
PS: my web service is apache2.0 on centos 6 , when I open
http://192.168.0.2/wordpress/index.php
it works
but if I open http://www.example.com
in apache's access_log
, it show
5.188.210.31 - - [03/Jun/2019:10:44:19 -0400] "GET / HTTP/1.0" 403 4961 "http://www.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
Usually you don't have to do anything. But your question is very unclear. What web server are you using? How have you configured it? What error do you get? Does the domain resolve to the correct IP address? Does your web server register the client trying to access the website? (Check the server logs.) – slhck – 2019-06-03T13:49:22.423
"I change it to 192.168.0.2" How did you change the IP? Where did you get the new IP from? – user4556274 – 2019-06-03T13:51:02.900
hello slhck , i have change my topic for more clear , for this question : Does the domain resolve to the correct IP address? I think maybe it is the reason why I can not visit my worpress , but I do not know how to solve it – yangl – 2019-06-03T14:47:56.793