E
E
exetico2020-10-17 21:57:18
ubuntu
exetico, 2020-10-17 21:57:18

How to close access to the server by ah pi and allow by domain?

Actually, how to restrict access to my server only by the domain specified on the hosting, so that some other sites do not use IP access to create a mirror.
Without nginx
p.s. just a link with a good example will do for the answer)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Karpion, 2020-10-18
@Karpion

I didn't understand how it would interfere with creating a mirror.
And so, there are many options. For example, you can make virtual sites - so that there will be one site for the domain name (if there are several names, then a separate site can be assigned to each), and another site for the IP address.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question