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-ID: 42238812833

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

Ausgedruckt am: 24.11.2024 um 06:11 Uhr

StefanKittel
StefanKittel 19.12.2023 um 11:34:18 Uhr
Goto Top
Hello,
are you using IIS in any way? If not deactive the server.
Stefan
telejoshi
telejoshi 19.12.2023 um 12:35:22 Uhr
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 ?
10138557388
10138557388 19.12.2023 aktualisiert um 13:00:38 Uhr
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 ...
StefanKittel
StefanKittel 19.12.2023 um 13:05:41 Uhr
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
telejoshi
telejoshi 19.12.2023 aktualisiert um 15:43:12 Uhr
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!