What is the reason why it can be opened using IP but cannot be opened using local domain name?
_ouly
_ouly 2017-11-02 21:53:47
0
5
1371

What is the reason why it can be opened using IP but cannot be opened using local domain name?

_ouly
_ouly

reply all(3)
猪哥

1 possibility:

1. The IP can be accessed in the local environment. The domain name is not convenient. Check whether the domain name of the local host file is bound.

2. In the online server environment, if the IP can access the domain name but cannot, it may be that the domain name has not been registered, or it may be that the server provider has whitelist restrictions. Just contact the server provider to inquire.

路过

The person above is right

  • reply What you said downstairs is right
    PHP中文网 author 2017-11-03 09:03:06
PeterZhu

You need to modify the local hosts file to bind the local domain name you created with the local host IP.

After the binding is completed, you need to restart the web server

  • reply Hello teacher, I have bound it but it still doesn’t work. Is this a browser problem?
    _ouly author 2017-11-03 19:02:03
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template