After the website is bound with a domain name, the access is not normal. Solution
Source: Internet
Author: User
After the website has been bound to a domain name, the access is abnormal. if the website has not been bound to a domain name, the IP address + port is used for access. everything is normal. after the domain name is bound, access is abnormal again, after the domain name is added, the port number can still be normally accessed. the bound domain name is not bound to the access folder. how can we add the port number and SOS? it should be a server setting problem, if you know something, please help me. after the website has been bound to a domain name, the access is abnormal.
For example, if the website is not bound to a domain name, the IP address + port is used for access. everything works normally,
After the domain name is bound, it is not normal to access again,
After the domain name is added, the port can still be accessed normally,
The bound domain name is not bound to the Accessed folder. why should I add the port number,
SOS
------ Solution --------------------
It should be about server settings.
------ Solution --------------------
Friends who know can help you,
------ Solution --------------------
Change the server port to 80. if you can access the server by using an IP address without using a port, then no port is required after binding.
The domain name is only resolved to the IP address, and cannot be resolved to the port.
------ Solution --------------------
To add a domain name, you must change the format of the host file in the drivers folder, for example:
# Lottery system
192.168.1.200 tlottery.fs.gmcc.net
------ Solution --------------------
Cmd-drivers
Under the./etc folder
------ Solution --------------------
Discussion
Cmd-drivers
Under the./etc folder
------ Solution --------------------
The domain name corresponds to the IP address. if you want to access different ports, you do not need to add them. how can the program know.
------ Solution --------------------
Discussion
Change the server port to 80. if you can access the server by using an IP address without using a port, then no port is required after binding.
The domain name is only resolved to the IP address, and cannot be resolved to the port.
------ Solution --------------------
Where is the problem?
------ Solution --------------------
Send remote control to help you
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.