The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [iis]

IIS is Internet Information Services, the web server included with Microsoft's Windows Server operating systems. This is a generic tag. Wherever possible please use a *version-specific* tag, such as [iis-7], [iis-7.5], etc.

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Configuring IIS for two Angular apps on domain and subdomain

I have some complicated scenario I can't configure. I need a web.config file to configure IIS to serve 2 Angular apps. The first will run on domain.com and the second on sub.domain.com The fix which ...
23
votes
2answers
46k views

Best way to redirect all HTTP to HTTPS in IIS

We want ALL sites on our webserver (IIS 10) to enforce SSL (ie redirect HTTP to HTTPS). We are currently 'Requiring SSL' on each site and setting up a 403 error handler to perform a 302 redirect to ...
1
vote
0answers
16 views

IIS10 - NODEJS - 502 Web server received an invalid response while acting as a gateway or proxy server

We are running a NodeJS server on Windows using a reverse proxy and application request routing. Basically, the node server is running locally on localhost:3000, and IIS is rewriting any external ...
1
vote
0answers
65 views
+50

Automatically renew certificate: Old cert gets archived, but no new one is issued

We are using Active Directory Certificate Services (AD CS) to issue certificates for internal web applications. We can manually request a certificate from the CA and it gets issued without problems. ...
0
votes
2answers
1k views

How to increase performance on ASP.NET/IIS/SQL website

We have a small internal ASP.NET website running on IIS8 and SQL2014 express. The server is an onsite dedicated server 2012 R2 VM that has both IIS and SQL server on it. The server CPU usage rarely ...
0
votes
1answer
933 views

IIS Advanced logging: enable for a website but disable for a virtual dir below it

I've been googling for hours, but can't seem to find any info on this... Is there a way I can enable "IIS Advanced Logging" for a website, but disable for a child virtual directory? I tried "...
0
votes
2answers
55 views

Webserver, and Exchange Server on single IP

Is there a way to run both a web server IIS10 and exchange server using only one IP? They are two separate server but due to only having one IP, I only have a single 443 port.
0
votes
0answers
16 views

How to run bat file in IIS with CGI [closed]

I managed to run bat in IIS with CGI. It works well with simple bat file. But when I call another exe in the bat, the output of the exe not show in the web. for example, this work well: @echo off ...
0
votes
1answer
1k views

NodeJS scripts only work if run from Node.exe and not from iisnode

Running NodeJS scripts from IIS using iisnode cause path and 404 issues, scripts try to search files in places they aren't while when running them from Node command line directly they work perfectly. (...
0
votes
1answer
52 views

IIS and SQL 100% CPU Usage

We have an IIS server running an ASP.net application and SQL Server. Most of the time it runs fine, but recently we have had a couple of instances of severe performance degradation. The whole site ...
0
votes
1answer
1k views

ASP.NET Error “The specified network password is not correct”

I have a .NET application running on server 2008 running IIS 7.5 that has two sites bound to the same IP address. A customer has moved the application root for one of the sites by accident to a ...
0
votes
1answer
36 views

How to set the “ASPNETCORE_ENVIRONMENT” environmentVariable in the WEBROOT (web.config) with APPCMD.exe?

How am I able to set the sites web.config "ASPNETCORE_ENVIRONMENT" environmentVariable with APPCMD.exe? So far I've tried ending it using /commit:MACHINE/WEBROOT, /commit:webroot and I get the below: ...
0
votes
0answers
22 views

IIS6 - Page not found redirect to different website

running IIS6 and am seeking guidance on how to accomplish a specific goal. I have a website e.g. www.xyz.com that I want to archive and host on a different URL e.g. archive.xyz.com, and a new website ...
0
votes
0answers
17 views

How do I enable SMTPS and disable SMTP on IIS? [closed]

I'm using Kali to nmap my Windows Server, and I can't get SMTPS port 465 to show up but I can get port 25 to show up. I'm doing this for a systems security class I'm in right now, and basically the ...
1
vote
1answer
11 views

IIS 10 PHP rewrite rule not running

I'm attempting to rewrite all PHP requests to 410 Gone on IIS 10/Windows Server 2016. With this rule in place, PHP requests are returning 404 errors. If I change the pattern to "^.*.ph1", a request to ...
2
votes
1answer
1k views

IIS 6 - CPU throttling on application pools

So after a recent DDoS attack on one our sites that took down all sites on that server Ive started looking into ways to stop this being such an impact on all sites. If the site under DDoS goes down, ...
3
votes
2answers
1k views

IIS application pool and UAC

My system is Windows Server 2008 R2 with IIS 7.5. I need to run a site which is allowed to do some administrative tasks. I have created an AD user account and added it to all the required groups. The ...
1
vote
1answer
2k views

IIS ARR ReverseProxy with Client Certificate Authentication for backend IIS

We have legacy SOAP Web Services (https://dev-ms01/Services/default.asmx) which are written in asp.net 1.1 hosted on IIS7(win server 2008 standard),web services consumed by clients by providing Client ...
1
vote
1answer
49 views

Check IIS is installed via regkey or Get-WindowsFeature

I would like to check if my VM is installed with IIS. Which method is more accurate? 1. Registry Editor Check for regfolder and regkey HKLM\Software\Microsoft\Inetstp -> Folder must exist HKLM\...
0
votes
1answer
1k views

IIS Admin Service stuck at “Starting” status

I'm having some trouble restarting IIS, and I took a look and see that the IIS Admin Service is in the "Starting" status. I'm not able to Start/Stop it manually. All of the context menu options for ...
0
votes
1answer
40 views

Is this an IIS issue or a Database Issue? Non Concurrent collections must have exclusive access

I am using asp.net core api with EF core and today I got this error message and it confuses me as of why it could have happened. Operations that change non-concurrent collections must have exclusive ...
0
votes
1answer
97 views

HTTP/1.1 New Session Failed

I'm getting reports from my users that they are getting the following error message when going to my website: HTTP/1.1 New Session Failed It doesn't happen all the time. (I checked my site today ...
0
votes
1answer
14 views

Pin point 500 Error which seems to orginating from FastCGI Module

I have a php application which I have been hosting on IIS that has suddenly stopped working and returns a server 500 error. In an attempt to troubleshoot it I have added a Failed Request Tracing Rule ...
0
votes
1answer
1k views

HTTPS Redirect in IIS 7 Only Working on Localhost

I am trying to force SSL redirection on a website through IIS 7 (Server 2008) using the following: <rule name="Redirect to HTTPS" stopProcessing="true"> <match url="(.*)" /> <...
-1
votes
0answers
18 views

IIS sc-win32-status 995 [closed]

Our download server IIS log have this statistics: Total request line: 53000 Request with status 200: 15000 Request with status 200 and sc-win32-status 995: 10500 !!! What maybe cause this number ...
1
vote
1answer
309 views

How do I set up an application that holds files in IIS 7

I have a folder location that contains .txt files (say C:\Files). I need to be able to access it using http://localhost/Files/myFile.txt I created a Virtual directory and mapped it to C:\Files. ...
2
votes
0answers
326 views

Intermittent “Access denied” error running iisreset in Windows Server 2016

I'm seeing some very strange behavior on some Windows Server 2016 EC2 instances. In rare cases, iisreset fails with the error message: Attempting stop... Restart attempt failed. Access denied, you ...
0
votes
0answers
31 views

Apache mod_proxy returns a blank page with 200 status code

I'm running Apache 2.4.39 with mod_proxy on FreeBSD. I use this config to forward the requests to some remote web servers (IIS). All of them work fine, except one (the others are configured the same): ...
2
votes
0answers
95 views

How to easily renew PFX certificate?

I am using IIS 10 with a variety of SSL certificates installed and bound with SNI. I now need to renew a wildcard PFX certificate, I would normally Import the new file and manually rebind each site ...
4
votes
1answer
1k views

“Unknown scripting language VBScript” IIS 7.5 + 2008 R2 SP1

Migrated an old classic ASP application from Server 2008 R2 to a new Server 2008 R2 SP1 and having serious issues now. All set ups and configs are identical between the "old" and new servers, no code ...
0
votes
1answer
1k views

Remove all HTTP bindings from an IIS 6 site while leaving SSL bindings

We have a (remote, via a reseller) customer who configured their IIS6 server to not have any port 80 HTTP bindings, only port 443 SSL bindings. We would like to reproduce this without going through ...
1
vote
2answers
1k views

Control IIS website access to users with Active Directory

Basic authentication question. I have my website up and it is set up to be used by Windows Active Directory users. How can I control access to the website within AD users so that some have access ...
1
vote
1answer
1k views

IIS running but not serving content

I have an internal dev server running Windows 2k8 R2 with the Web and FTP Server roles set up which won't serve any content at all. Trying to connect from another host via telnet yields 'connection ...
1
vote
1answer
64 views

Cannot Set up HTTPS site on IIS and windows server 2012 [on hold]

I seem to have a strange problem. I had an HTTPS site with an SSL certificate set up on a windows 2012 server and it ran fine but it was not on the default 443 port. So to access the site you would ...
2
votes
2answers
3k views

IIS WebLimits not being respected

So I've configured IIS8.5 on Win 8.1, like so: appcmd.exe set config -section:system.applicationHost/webLimits /connectionTimeout:"00:00:03" /commit:apphost I've verified that the setting appears ...
0
votes
1answer
1k views

Exception has been thrown by the target of an invocation

Line 54: <providers> Line 55: <clear/> Line 56: <add name="RolesProvider" type="Eacademy.Library.Membership.CustomRoleProvider, Eacademy" /&...
1
vote
1answer
2k views

Is it possible to use local web.config to enable keep-alive?

Is there any way to enable keep-alive on IIS 7 in a hosted scenario? I attempted to use the answer to this SO question Where (or how) is the keep-alive setting in web.config?. I added the following ...
1
vote
0answers
44 views

Why is my SSL Cert/IIS Setup not working correctly?

I have 2 domains that are pointed to the same website in IIS 8.5 on Windows Server 2012, domaina.com and domainb.com. Domaina.com is the primary website and domainb.com is the secondary site. Right ...
0
votes
1answer
1k views

IIS7 SSL certificate caching

I changed certificate in IIS 7, changed bindings on websites, everything OK. But when I'm trying to set my old certificate (and I'm changed bindings too), I still get new certificate instead of old. I ...
2
votes
1answer
1k views

Internal corporate IIS 7.5 website not recognizing User's credentials - didn't used to ask for them

I'm a developer that's been asked to maintain the IIS configuration for the web app that we're building, so bear with me. We have an internal website that is accessible to employees once they've ...
2
votes
3answers
1k views

Running php files on ISS 7 without the file extension

I'm moving a PHP app to my IIS 7 web server. A lot of the files in the application are php files, but don't have the php extension (in fact they have no file extension). This works fine on the old ...
0
votes
1answer
1k views

IIS 10 - Process multiple requests from the same IP address

In our internal network, we have many applications hosted on different pools. User X might load a report which sends a request to the web server to run. Whilst this request is running, user X may also ...
1
vote
1answer
7k views

Configure IIS site to work with host header & hosts file entry

I've set up a site in IIS on my local dev machine. In the bindings section of the site ive added 4 bindings, all 4 for http: Host Name Port IP Address blog.sourcecube.co.za ...
2
votes
1answer
2k views

IIS, how to track when the server is up or down?

I would like to know if there is a way, like a logging option in IIS to keep track of when the server or a site is up or down, so that when you get a client saying the service was down, you can go and ...
0
votes
0answers
29 views

How to restart or cycle IIS App Pool when it reaches certain CPU percentage?

I would like to automatically stop/start or recycle the app pool when it reaches 80% of CPU usage for a certain period of time. I see that under app pool Advanced Settings, there is a CPU section ...
0
votes
1answer
52 views

IIS .php file strange behaviour

I need to host a php based website on IIS and I have come across some strange behaviour of .php files. When I try to open index.php, I get the white screen of death. There are no error logs (I ...
2
votes
2answers
25 views

IIS cert stuck bound to external IP

I set all my hosts to be bound to the same IP explicitly. Apparently that's bad. I also didn't have SNI turned on. As a result IIS is issuing the wrong cert. def.com is getting the cert for abc.com....
1
vote
1answer
398 views

Configure Windows IIS authentication using Nginx

I have a web API hosted using the IIS Express and it is running in my localhost using the port number 17770. I also installed Nginx in my localhost which is using the port number 8070. The goal is to ...
0
votes
1answer
447 views

HTTP Error 500.19 results -1 & 0

I am trying to get my site to show up on the localhost. I have asp and asp.net installed in windows features and IIS does seem to work, however the problem is when I go to the site itself on the ...
0
votes
1answer
3k views

IIS ARR Error 502 - Web server received an invalid response while acting as a gateway or proxy server

I have an ARR IIS with a server farm that contains only one server. the site has http and https binding. SSL certificate which installed on both ARR and content server are same and imported and also ...