Questions tagged [iis]

IIS is the acronym for Internet Information Services, the webserver provided by Microsoft.

Filter by
Sorted by
Tagged with
1
vote
2answers
19 views

How can I do 301 instead of 302 redirects when there are multiple domains sharing the same site hosted in IIS?

I have several domains sharing the same site and use a default.asp as the default file where I test the SERVER_NAME variable and use Response.Redirect to redirect to the home page of the site ...
2
votes
1answer
21 views

403 forbidden error when IIS is binding ASP web app on port 8080 to be accessed via a subdirectory

Windows Server 2012 R2 / IIS 8.5 I have a number of folders in C:\inetpub\wwwroot; - wwwroot - index.html - analytics (PHP app) - occupancy (PHP app) - rooms (ASP app) In IIS my sites ...
1
vote
0answers
9 views

Browser Downloading ASP App Instead of Displaying [migrated]

Windows Server 2012 R2 / IIS 8.5 In IIS > Sites > Default Website I have an (ASP) application, when I visit the localhost URL a file is downloaded instead of the page being displayed. The files ...
2
votes
2answers
6k views

Images work directly in image folder with IIS but give 404 in subfolders of that directory

Hi I need some help with configuring our IIS (8.0) to allow images to be delivered from the image folder and all its subfolders. Our web.config is located in the root. We then serve most files from ...
0
votes
1answer
87 views

Should I create a separate site in IIS to redirect (wildcard) from one domain to another?

We are moving domains and servers. I have newdomain.example set up on new server (SSL). I want to shut off old domain. I will get old domain pointed to new server. Is it better in IIS to add the ...
3
votes
3answers
718 views

Which is the practical difference between a server and a web server?

Let's consider the following example: I have a solution made with C# on Visual Studio, it has a multi-tier architecture, the different layers are the following: Data Model (Library) Data Access ...
1
vote
0answers
75 views

My WordPress site is slow when I'm not using a VPN

I host a WordPress site which isn't behaving as I'd expect. Its taking an age to load, sometimes timing out before its finished. However, if I have my VPN (PIA) enabled, it loads immediately and is ...
8
votes
1answer
171 views

Add custom domain on Azure without application restart?

Few months ago Azure started restarting applications when change occurs in custom domains. This behavior is, of course, quite bothersome as, aside of unnecessary restarts, startup on Azure can't ...
5
votes
3answers
10k views

Can't access website from same network

I've setup IIS locally to host a website. I've created a free NOIP account so I can access it with a domain name. It's temporary, so I plan to assign a real domain to it later. I setup port ...
0
votes
0answers
57 views

Web Site pings different ip address if I ping from server or local machine

I have a web app hosted on a server that was recently moved to a new location and has a new ip address associated with it. I am not well versed in networking or server administration so any help is ...
2
votes
1answer
34 views

Cloudflare returns 200 when server returns 404

When I make a request to my site that is proxied through Cloudflare, if I am requesting a resource that doesn't exist (such as /foo), my server returns a 404 (I see my 404 page and testing without ...
2
votes
1answer
1k views

IIS URL Rewrite Wildcards

I have some URLs as follows http://localhost/wordpress/latest/joe/12 http://localhost/wordpress/latest/bloggs/14 http://localhost/wordpress/latest/thing/15 I would like to redirect them to http://...
0
votes
0answers
22 views

What is the correct or most appropriate way to address phantom or untraceable 404 errors showing up in a website audit?

Currently I am running my site through neilpatel's website for the purposes of an audit on SEO - the analyzer continues to return a 404 error that i cannot find anywhere, following this URL structure ...
1
vote
1answer
42 views

Naked domain without any page in url takes too long to load

I have 2 different servers. Old one is Win 2012, new is Win 2016. I shifted a few of domains from old server to new Win 2016 Server. Now the issue I am facing on the new server is that whenever ...
1
vote
0answers
16 views

Can a reverse-proxied Facebook in an IFRAME access the other logged-in Facebook's in other windows and IFRAMEs?

We have set up a reverse proxy to Facebook. We wound up another subdomain on our server and pointed it at https://www.facebook.com using the following web.config. (Redacted slightly for security's ...
1
vote
1answer
41 views

Configure IIS to allow access to one site by IP address

I have IIS 10 set up with multiple sites, all working well. To troubleshoot some intranet DNS issues I was looking at trying to enable access to any one of the sites via IP address. I have done ...
0
votes
0answers
10 views

IIS 10 bindings getting messed up with multiple sites?

I have site A with URL - great.example.com and a certificate. I have site B with URL - good.example.com and a certificate. Both certificates are installed and look good. When I go into each site I ...
2
votes
2answers
1k views

IIS 10 and PHP 7.3 cant upload 4M file in one POST request

I have changed the maxfile size in the php.ini settings, but i do not know how to change it in the IIS 10 config. My hphinfo: I am getting the error 1 in the $_FILE array (which as I understand ...
1
vote
0answers
188 views

IIS 10 not showing worker process Current Requests

I have enabled Monitor and Tracing by adding Windows Server 2016 Roles. But IIS not showing me worker process Current Requests when I request a webpage How can I view current requests coming in IIS ...
0
votes
3answers
4k views

How do I increase the upload size in IIS?

I can't upload more than 2 MB. I read that IIS' max. upload size is 4 (actually 4,2) GB and ASP.NET's is 2 GB. I really can't think of an alternative. I could change the max. upload size in PHP but ...
0
votes
0answers
73 views

How to IIS Rewrite when the URL contains a bookmark (#)?

I have a URL that's been inserted into a multitude of online courses, containing multiple QueryString parameters and a hashtag bookmark. Unfortunately, whoever inserted them also added some spaces, ...
6
votes
3answers
22k views

IIS URL Rewrite http to https EXCEPT files in a specific subfolder

I am trying to force all traffic on my web site to use HTTPS, using the URL Rewrite 2.0 module added to IIS 7.5. I got that working and now have a need to exclude a couple of pages from using SSL. So ...
1
vote
0answers
40 views

How do I handle server redirects on IIS to route requests to two different domains?

I have a domain www.example.com which is running on IIS server and the site content is in ASP.NET. I am migrating part of the site (www to www) to AEM and the rest of it will sit on old.example.com (...
1
vote
0answers
19 views

How to prevent Chrome from showing “🛈 Not secure” for my website in the URL bar? [duplicate]

I have uploaded my website in my IIS using static IP. whenever I access it from local or remote it was showing "not secure". How do I resolve this issue?
0
votes
1answer
132 views

Redirecting a domain works on HTTP but not on HTTPS with IIS server

We built a site for a client to advertise a new block of apartments they had built. The apartments have now all been sold so we have been asked to forward the domain to another domain until there is ...
3
votes
1answer
75 views

Does Reverse proxy in IIS effects SEO in any way

I'm creating a website using Angular and have enabled server-side rendering which uses a Node JS server. Our site is deployed on an IIS server. To get content from the Node server we are using a ...
1
vote
0answers
17 views

IIS: Difference between Websites and App Pools when stopping/starting/deploying

I've used IIS here and there for various applications, mostly as a developer that doesn't have to interact with it much. I've never understood the complete distinction between an IIS "Website" and an ...
1
vote
0answers
44 views

Why does everyone prefer SSL Offloading?

I started to setup a Reverse Proxy on Windows Server 2012 R2 with IIS and the AAR module installed (but purely as a Reverse Proxy without load balancing). It was relatively easy to setup a URL Rewrite ...
1
vote
0answers
12 views

Temporary domains when when moving applications to new server

I'm currently in the process of moving 20 .Net applications from a dedicated Windows 2008 server to a new 2016 server. How can I ensure the sites are working correctly on a temp domain before I ...
1
vote
0answers
27 views

Mirror applications in IIS on another failover server

Apologies for my lack of knowledge int his area, but hopefully you guys can help. I have approx 20 .Net MVC applications hosted on a dedicated 2016 server. These sites are all linked to a database on ...
3
votes
2answers
414 views

Block third domain from being indexed

We have a web application that handles many websites that have test and production environment. This application has only one folder and it's hosted with IIS. We already have noindex nofollow, index ...
2
votes
1answer
10k views

How to log username in Apache logs?

I need some help regarding how to log the user-name into apache logs. I'm building a use-case for Security Information Event Management. Is the method the same in case of IIS or just applicable to ...
2
votes
0answers
283 views

PHP 7.3 doesn't show in Web Platform Installer (WPI) in IIS 8.5

I have 3 Windows servers, two of them are Windows Server 2012 R2 - IIS 8.5 and the other is Windows Server 2012 - IIS 8.0. I wanted to update to PHP 7.3.x automatically through the Web Platform ...
1
vote
1answer
274 views

Using IIS URL Rewrite module instead of Global.asax for complex redirect rules

We have a legacy ASP.NET website in which complex redirect rules are coded in Global.asax. Actually this logic processes requests with several optional or variable parts like {http|https}://[www.]...
2
votes
1answer
44 views

Does a new permanent rewrite rule supersede old permanent rewrite rule?

Ages ago we included a redirect in web.config to ensure that pages would rewrite to http://www.example.com/ if the user input, say, www.example.comor variants of it. Recently we changed the site so ...
1
vote
0answers
18 views

Old Url will no longer be available, how to redirect to new URL in IIS?

We currently have a site running of 2 URLs OldSite.subdomain.domain.example newSite.newDomain.example There is the talk of getting rid of the 1st URL completely. Is there anything that can be done ...
7
votes
2answers
46k views

What is the advantage of increasing “maximum worker processes” in IIS?

What is the advantage of upping the "Maximum Worker Processes" from the default of 1 in IIS? Given that it seems any worker process can reply to a request from a single client (ie they are not ...
0
votes
0answers
45 views

Redirect users to web server based on user IP

I have a web server that has windows authentication, I want to disable the windows authentication locally, anyone on the local network can access it without authentication. after long research I have ...
0
votes
0answers
53 views

How can I access https file via https request without 403 forbidden in IIS?

I recently installed a site certificate to secure our website. We sell software and there are many installed users who are using some pre-website change versions of our software. Internally, the ...
5
votes
0answers
199 views

Fetch as google Content-length: 0 when using IIS with active request routing (ARR)

I'm very new to this and just had a new issue dropped on my desk which I could use help with. Basically all requests for domain name www.example.com are routed through an IIS with active request ...
0
votes
1answer
460 views

IIS Applications Restarting When Root Application is Published

My IIS website has several applications. All the applications, including the application at the site’s root, are ASP.NET applications. When the root application is published (from Visual Studio), not ...
2
votes
1answer
4k views

IIS URL Rewrite: Pattern starting with forward slash never matches

I am using IIS URL Rewrite and this one has stumped me. I am redirecting a URL with specific subfolder to a new URL. e.g. https://myapp.example.com/customsite1 redirected to https://newsite1-myapp....
1
vote
0answers
125 views

Infinite redirect loop with IIS 8.5 Drupal

After configuring my website, i stuck in a infinite redirect loop. I have 6 domains, example.com is main domain. example1.com, ..., example5.com are forwarding to example.com. Doesn't matter which ...
0
votes
1answer
47 views

Associate a domain with a site in such a way that a security certificate can be installed on IIS 8.5

I can not publish my website (created with Drupal 7) with IIS 8.5 (windows server 2012 r2). I'm forwarding my domain example.com as a frame to http://192.0.2.4/mywebsite (i got static ip). Everything ...
1
vote
0answers
73 views

Are there settings that must go into the IIS ApplicationHost.config file only?

Are there setting that must go into ApplicationHost.config opposed to into web.config file under the IIS web server? I.e. Are there any settings not allowed in web.config, or can I move all my ...
1
vote
3answers
3k views

web.config redirects only for specific domain

I'm stuck with redirecting for specific domains. The setup consists of azure webapps which bring their own domain *.azurewebsites.net, I want to exclude those from redirecting. For additional domains ...
1
vote
1answer
109 views

IIS 10 giving internal error when attempting to redirect to HTTPS

I've looked at innumerable resources on how to set up a HTTP to HTTPS Redirect, but still it doesn't seem to work. Using IIS10 and the URL Rewrite module, here are my steps: I've generated a Self-...
2
votes
1answer
46 views

Show content from a back end server on another host in a Wordpress sub directory without changing the URL

We currently have a bunch of ASP.NET applications which are all accessible through one domain. So www.example.com connects to the main website. www.example.com/documents is a separate application ...
1
vote
0answers
65 views

wp_remote_post and theme update problems using Azure App Service

My business' Wordpress website has gone live in the last week, and I've been using Azure's App Service offering to run it. It's worked like a charm for the most part, but a couple of odd things have ...
1
vote
0answers
50 views

Heroku and 123 Reg showing IIS page only on naked domain

I've got a site set up with SSL that works as expected when manually typing in 'https://example.com' or 'http://example.com'. However, when I navigate to just 'example.com' I get an IIS hosting page. ...