As the question. After Discuz was installed locally, the Discuz was moved to the server. Here the domain name bound to the server was opened, so it was strange that the domain name always specified a local address: localhostopenuploadportal. php? Modlist & amp; cat.
After Discuz was installed locally, the Discuz was moved to the server. Here the domain name bound to the server was opened, so it was strange that the domain name always specified a local address: http: // localhost/open/upload/portal. php? Mod = list & catid = 1
Now the problem is: I removed the domain name resolution and deleted all the items on the server.
The domain name accessed by the mobile phone is empty.
(Now I have resolved this domain name to the server. Now I can open this domain name through my mobile phone and see the Hello World and several garbled characters.
But the main problem is: when I enter this domain name on my local computer, I still jump to the local address: http: // localhost/open/upload/portal. php? Mod = list & catid = 1
I only know that the modification of the hosts file can place a Domain Name Pointing to the local, but the problem is that the hosts file in my computer is not modified. Why do I still jump to the local device?
Supplement: thanks to everyone who answers and comments, the final question is only the reason for browser cache. I have tried a new browser before, so I have never suspected that it is a cache problem. But it seems that the browser is still connected to the server.
I tried another browser just now and found that this would not happen.
However, I still don't quite understand which settings have been updated after Discuz is locally installed, so that it will jump to the local page after the server is uploaded ?!
Reply content:
As the question.
After Discuz was installed locally, the Discuz was moved to the server. Here the domain name bound to the server was opened, so it was strange that the domain name always specified a local address: http: // localhost/open/upload/portal. php? Mod = list & catid = 1
Now the problem is: I removed the domain name resolution and deleted all the items on the server.
The domain name accessed by the mobile phone is empty.
(Now I have resolved this domain name to the server. Now I can open this domain name through my mobile phone and see the Hello World and several garbled characters.
But the main problem is: when I enter this domain name on my local computer, I still jump to the local address: http: // localhost/open/upload/portal. php? Mod = list & catid = 1
I only know that the modification of the hosts file can place a Domain Name Pointing to the local, but the problem is that the hosts file in my computer is not modified. Why do I still jump to the local device?
Supplement: thanks to everyone who answers and comments, the final question is only the reason for browser cache. I have tried a new browser before, so I have never suspected that it is a cache problem. But it seems that the browser is still connected to the server.
I tried another browser just now and found that this would not happen.
However, I still don't quite understand which settings have been updated after Discuz is locally installed, so that it will jump to the local page after the server is uploaded ?!
The landlord can ping your domain name and check the returned IP address,
Clear the browser cache or try another browser.
Take a look at the Domain Name Pointing to on the server, in the/etc/hosts file.
It may be that the domain name on the server points to localhost, but localhost does not point to 127.0.0.1, which leads
I think this problem is probably because you have installed dz locally. Pay attention to this details. Therefore, it may be that the application domain name or your local url has been written into the database. For example, for the configuration of uc, you can search for whether your local url exists.
Change the address in dz to your domain name and place it on the server.