telejoshi
Goto Top

IIS website stays even when I have changed ports or deactivated it

Hello everyone,

I'd like to run an xamp website (the Moodle package which already includes xamp). When I run localhost or the server's IP, I can only see the blue ISS standard website. I've found posts to this topic, but they always come down to changing ports, which I have done:

*Windows Server 2019, running IIS website and WSUS

*started IIS manager from Server Manager and changed the ports under "bindings" for "Default Web Site"

*Ports changed to 8080 (http) and 4499 (https) for the IIS "default Web Site"

*rebooted server

*xampp's apache server is running and listening on port 80

No change. For both localhost:80 and localhost:8080 I get the IIS website. Even deactivating the site in the IIS Manager doesn't change anything. Did I miss something?

Thank you very much!
unbenannt
screenshot 2023-12-19 at 11-24-39 iis windows server

Content-Key: 42238812833

Url: https://administrator.de/contentid/42238812833

Printed on: April 30, 2024 at 11:04 o'clock

Member: StefanKittel
StefanKittel Dec 19, 2023 at 10:34:18 (UTC)
Goto Top
Hello,
are you using IIS in any way? If not deactive the server.
Stefan
Member: telejoshi
telejoshi Dec 19, 2023 at 11:35:22 (UTC)
Goto Top
When I disable the Server, the ISS site still shows. Even when I enter the port (localhost:80) it redirects me to localhost:8080 ?
Mitglied: 10138557388
10138557388 Dec 19, 2023 updated at 12:00:38 (UTC)
Goto Top
net stop W3SVC
Or
iisreset /stop

sc config W3SVC start= demand

You also have an active WSUS Site.
There could also be a an active rewrite module with rewrites the port when entering Port 80
https://learn.microsoft.com/de-de/iis/extensions/url-rewrite-module/usin ...
Member: StefanKittel
StefanKittel Dec 19, 2023 at 12:05:41 (UTC)
Goto Top
Zitat von @telejoshi:
When I disable the Server, the ISS site still shows. Even when I enter the port (localhost:80) it redirects me to localhost:8080 ?

Hello,
modern browser caches redirects.
You need to clean the cache.

Better use wget to see the valid response.

Stefan
Member: telejoshi
telejoshi Dec 19, 2023 updated at 14:43:12 (UTC)
Goto Top
Quote from @StefanKittel:
You need to clean the cache.

Thank you! Now the response is accurate. It shows 404 though, there seems to be a redirection from the IP-address and localhost to port 8080 (I switched IIS to 8080).

What could be the reason for the redirect? I'm not the one who set up the domain, there's something I don't see.

You also have an active WSUS Site.
There could also be a an active rewrite module with rewrites the port when entering Port 80
https://learn.microsoft.com/de-de/iis/extensions/url-rewrite-module/usin ...

I didn't find this module in my Server Manager or at WSUS / ISS Website. But it must be something like that.

Thank you for your responses so far!