The web server: Apache
Binding two network static IP address
172. Xx. Xx. Xx (IP) production environment
10. Xx. Xx. Xx office network environment (IP)
Including 10. Xx. Xx. Xx parsing two network domain name
Uap. XXXXX
Coa. XXXXX
Apache2 site - there are two or more configuration files under the enable
One listen on port 80, ServerName to static IP 10. Xx, xx, xx
Another listen on port 80, ServerName for network domain name uap. XXXXX
Question: in the office network environment using IP address can access the Apache service success, but use the IP address resolution of domain name uap. XXXXX and coa. XXXXX always access the corresponding page 404
CodePudding user response:
This is your own domain name, if you set the DNS is not on a computer for your own domain name, you want to create a DNS server in your local area network (LAN),CodePudding user response:
IP network to establish reverse DNS pointer pointing to the domain name