The problem of Domain name Resolution after the Construction of gitlab

A warehouse has been built using gitlab in the company. The private network address is 192.168.11.202 ip 80. Now the router is used for port mapping. If the IP mapped to the public network is 5.6.7.8 ip 1122, how can a domain name be used to resolve to this address?


just resolve the domain name to 5.6.7.8


you can resolve it directly to the public network address. Record A to 5.6.7.8 , and then visit the domain name: 1122 . First, your domain name will be resolved to 5.6.7.8 , then the browser will access the 1122 port of 5.6.7.8 , and then package it to the 192.168.11.202 port of your router that is mapped to the intranet 80 port. Is that clear?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3bee1-42c24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3bee1-42c24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?