The website I want to go is pixiv.net, and after I ping it I found out it's ip, which is 210.129.120.44, but if I directly putting this ip as address in a browser, I got a access forbidden. But I can visit pixiv.net. And then I tried to bind this ip with pixiv.net in my host file. I can still get access to pixiv.net.
Asked
Active
Viewed 314 times
2 Answers
0
The web server at that location is probably configured to respond to a fully qualified domain name that it routes to a directory of HTML pages and other assets. It’s likely there is no configuration for requests to its root IP address.

n4cer500
- 743
- 1
- 8
- 21
-
So how does it work in dns when I write address as pixiv.net in a browser? – Heatmint Mar 16 '18 at 03:17
0
It is likely one of the following two,
- The nginx web server at that IP could be configured only to allow access via the domain name. prevent access via IP on nginx
- The nginx server could be a reverse proxy which re-routes requests to the true web server. nginx as a reverse proxy server

Eat at Joes
- 4,937
- 1
- 40
- 40