D
D
dmitro_pro2019-01-14 15:52:14
Computer networks
dmitro_pro, 2019-01-14 15:52:14

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

2 answer(s)
V
vreitech, 2019-01-14
@fzfx

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.

D
dmitro_pro, 2019-01-15
@dmitro_pro

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 question

Ask a Question

731 491 924 answers to any question