Answer the question
In order to leave comments, you need to log in
How to create an ip address that works like an alias?
There is a server, a router is connected to it, behind it is a provider with the Internet.
The provider issued a static IP1. The server has its own IP2. But the Router refers to the server. those. when accessing IP1, we see IP2 data.
The site.ru domain was created on the dns server and directed to IP1.
On the server where the virtual hosting of the IP2 domain.
Why don't we get site.ru data with IP2 when accessing the domain?
Answer the question
In order to leave comments, you need to log in
most likely because hairpin nat is not configured on the router.
or maybe the web server on the server is configured incorrectly and does not give the site by your domain name.
or maybe an incorrect A-record in DNS for your domain and IP1.
and for alliances you are in mmorpg.
Solution!
The provider blocked ports 80 and 443.
Here I removed the yulokirovka everything worked https://yadi.sk/i/wU53fQP1JrprFw
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question