-1

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.

Heatmint
  • 29
  • 1
  • 1
  • 5
  • I also want to know how to brows pixiv via ip address, can I change my http request header or something in order to do that? – Heatmint Mar 16 '18 at 03:40

2 Answers2

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
0

It is likely one of the following two,

  1. The nginx web server at that IP could be configured only to allow access via the domain name. prevent access via IP on nginx
  2. 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