localhost resolve to old computer name

653 Views Asked by At

I have recently changed my computer name.

Now when I want to access web server (IIS) on my computer https://127.0.0.1 resolves to new computer name, but if I write https://localhost resolves to my old computer name.

Web page does not work with old computer name. What can I do so localhost will resolve to my new computer name?

1

There are 1 best solutions below

0
tomazs On

@Lex Li pointed me to right direction. I am using Siemens WinCC Unified runtime. I removed the project and added it again. Now it resolves to my new computer name.