K
K
k_ula_k2021-06-08 18:37:34
Domain Name System
k_ula_k, 2021-06-08 18:37:34

How to allow access to the site by ip?

Is it possible to access the site if you enter not its domain, but the IP address? If so, what does it depend on and how can it be configured? If not, why not?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
hint000, 2021-06-08
@hint000

If yes, what does it depend on?
If only one site is hosted on the server, then yes, this site will open. But it depends on the settings of the web server and, if desired, can be configured so that it does not open by IP address.
If there are several sites on the server, then the server cannot guess from the IP address which of these sites is needed. So it will always open one, determined by the settings of the web server. Or, again, you can configure it so that none opens.

R
Ruslan Fedoseev, 2021-06-08
@martin74ua

keep exactly one site on one ip.

V
Vladimir Korotenko, 2021-06-08
@firedragon

The idea is so-so. All modern browsers terribly swear at the lack of a certificate, and for the address you need an OV certificate. So buy a domain for 200 rubles

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question