Current location - Quotes Website - Team slogan - How to set the website server to access through domain name+non-80 port?
How to set the website server to access through domain name+non-80 port?
Forwarding using hidden domain names.

If you want to set the domain name resolution to non-80 port, you need to use hidden domain name forwarding.

If the port is not recognized during domain name resolution, then the domain name is actually bound to this IP address, and then: 8 1.

If your two websites are on 192. 168. 1, you only need to unpack both domain names to the IP address of xxx.xxx, and then you can add them to the IP address of xxx.xxx.xxx

Domain name 1.com website 1

Www.domain 1.com website 1

Domain2.com website 2

Www.domain2.com website 2

A server can be accessed by two domain names, but a domain name cannot access two servers at the same time. Domain names can only be resolved to IP, and the default access port is 80. Non-80 ports cannot be accessed through http by default. If there are 80 ports mapped on the router, you can map two servers from 80 at the same time. It is recommended that you use two domain names to access these two servers respectively.