One server has two IPs and there is a problem when setting up two websites. Is there anyone knowledgeable?
phpcn_u98618
phpcn_u98618 2018-08-31 21:46:30
0
2
1167

The problem is that each domain name can correctly access each directory, but the same website appears when accessing it using the IP address. I don’t know where the problem is. Please help me solve it. Thank you!

phpcn_u98618
phpcn_u98618

reply all(2)
秋香姐家的小书童

Just delete the NGINX default configuration DEFAULT configuration

森林的林·强大的强

If you are using Nginx. Just add the IP address you need to access in the Server section of the conf file. Two IPs and one website is because neither of your two IPs specify a website. So the default website is visited.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template