Improve company productivity with a Business Account.Sign Up

x

Microsoft IIS Web Server

35K

Solutions

29K

Contributors

IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.

Share tech news, updates, or what's on your mind.

Sign up to Post

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
    <rules>
        <rule name="Redirect to non-www" stopProcessing="true">
            <match url="(.*)" negate="false"></match>
            <action type="Redirect" url="http://{HTTP_HOST}/{R:1}"></action>
            <conditions>
                <add input="{HTTP_HOST}" pattern="^{HTTP_HOST}$" negate="true"></add>
            </conditions>
        </rule>
    </rules>
</rewrite>
    </system.webServer>
</configuration>
0
Free Tool: Port Scanner
LVL 12
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

How to ensure high availability solution for IIS hosted on Azure VM.
If site is hosted in IIS in azure vm, what if this vm goes down? Site will be inaccessible.
How can we make sure that site is redundant or highly available.
Load balancer / Traffic manager will distribute the traffic but not sure if VM hosting the IIS goes down.

Please correct my understanding also solution for this.. Thanks
0
Please bear with me, as this is going to be lengthy. The short of it is, I bought an SSL cert from GoDaddy for *.mydomain1.com. After installing it on IIS, I try to browse to the site on Chrome and get an SSL error NET::ERR_CERT_COMMON_NAME_INVALID. Looking at the Cert on Chrome, it says it's issued to *.anotherdomain.com. How is this even possible?

Here are screenshots of everything.

Note the two different SSL Certs in GoDaddy.
Note the two different SSL Certs in GoDaddy.
Here are the certificates installed on the server. Note the difference in expiration dates.
Here are the certificates installed on the server. Note the difference in expiration dates.
And, here are the certs installed on IIS.
And, here are the certs installed on IIS.
Just for confirmation, I open the cert to see its details. Sure enough, it's issued to *.mydomain1.com.
Just for confirmation, I open the cert to see its details. Sure enough, it's issued to *.mydomain1.com.
Here is the binding for the site in IIS.
Here is the binding for the site in IIS.
And finally, when I try to go to sales-dev.mydomain1.com, I get this error.
And finally, when I try to go to sales-dev.mydomain1.com, I get this error.
Any help would be greatly appreciated.
0
Hi,

I am installing a IIS server, however I keep getting HTTP Error 500.0. Ive looked around the web and tried a few different things but nothing worked. Here are the steps I have tried so far:

Open IIS Manager.
In the navigation pane, click Application Pools.
In Application Pools, click SCEP.
In the Actions Pane, click Advanced Settings.
Under Process Model, click Load User Profile. Set toTrue.
Click OK to all open dialog boxes.
Restart IIS.

I also uninstalled and reinstalled the whole thing.

Any help would be greatly appreciated.
0
Hi Experts

What is the Best Practice re IIS & RDS services?

We have 2 VMs on a HyperV: DC + RDS (both WIndows 2016)
Our CRM, ACT! from Sage,  is currently installed on the RDS but is only used internally.
We need to install a IIS / Web Server to give remote access to ACT! via the web

Can I use the RDS to install these additional components? My instinct is to build a new VM and install ACT! on that VM.

What says you?

Alex
0
I am trying to connect to a secure VAN and push and pull files over a secure connection.  As we are trying to set it up, the people at the VAN are getting this error.

Error Message:

AS2 Outbound has a HTTP proxy server to connect through.Probably error while connecting to proxy : [Error sending document over http to host [http://X.X.213.93], status code [405], reason [Method Not Allowed], response from server [<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">< html xmlns="http://www.w3.org/1999/xhtml">< head>< meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>< title>405 - HTTP verb used to access this page is not allowed.</title>< style type="text/css">< !-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em...]]

Summary:

Sending of document [167499846.edi] to [http://X.X.213.93] FAILED

Any ideas of what I am missing or doing wrong?  The X.X.213.93 is the public IP of my machine receiving the files.

Thanks
0
Trying to install PHP on Windows Server 2008 but it fails at installing runphp helper.  It says the product did not download successfully, the underlying connection was closed, an unexpected error occurred on a send. I have didabled antivirus and firewall, etc....still no luck
0
Has anyone made HTTP 2 HTTPS redirection work in IIS on Server 2016?

I have a simple published app in the /RDWEB folder that I'm publishing out to users.  I have the HTTP redirect working in that the users only need to type in the URL and it redirects to /rdweb, but I'd like anyone who enters HTTP to be redirected to the HTTPS site and I'm not having any luck.

I've used HTTP redirect and put in my https://url.com and that's not working (I even checked Only redirect requests to content in this directory, not subs).  No Joy.

I downloaded and installed the URL rewrite tool and made a rule to listen for http://myurl.com and redirect to https://myurl.com and still no joy.

I've read several web sites with various fixes, but none are working for me.  

Has anyone been successful in redirecting HTTP to HTTPS in Server 2016?

Thanks

Cliff
0
ok, I have a website that needs to go live.  What do I need in hotdocs for this to happen?  I can use localhost just fine.
0
outlook email link redirecting to chrome browser. Instead how i can redirect those link clicks to internet explorer or mozilla browser.

please advise
0
The 14th Annual Expert Award Winners
LVL 7
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

I cannot figure out why my PHP installation is requesting a physical path without an extension.

Requested URL http://localhost:80/index
Physical Path C:\inetpub\wwwroot\index



PHP is working fine with phpinfo.

I have tried Googling and to my surprise no results related to a physical path showing no extension. I'm sure I'm missing something silly in the php.ini or something. Any help is extremely appreciated!
0
Hello,

Our team is being told to investigate whether our Windows infrastructure contains misconfig encryption.  

I sample a few WIN2012 web servers, open up the registry and look at the secured channel settings.  I see TLS 1.1 client and TLS 1.1 server are enabled.  Some servers have SSL 2.0 client presents but not enabled.  No SSL 3 or TLS present.

Would somone educate me how the secured channel protocols being added into the registry?  

I understand that SSL 2 and 3 are old and they should be disabled.  What is the best way to ensure the disable process will not affect our current applications?

I usually deal with adding secured certificates to the web servers but do not pay attention of what schannel protcol is used.  

Thank you very much.
0
hello,

I have web applications running on a server( windows server 2008 R2)

the Front end Application - made with  ASP.NET C#
the Back-end - SQL SERVER 2012

from last 1 month i m facing this error while login - invalid Access to memory Location  this error occur twice in day

when i reset the IIS then this error goes out

this is not a permanent solution

anybody help me to fix this error permanently.

thanks
0
We have a production and staging website. Both running on IIS. The production website is running on http and staging we recently installed a SSL certificate to test https. Allw as working fine till, we hit a roadblock with one of the function giving the error 500 for type xhr.


It is an event registration form which upon submitting gives the error.
500-error.JPG
500-error1.JPG
0
I want to show the results on a details page that matches what shows in the dropdown list that I have on the create page. I was able to create different text for values in the dropdown. I am struggling with showing the text on the details page that is redirected after creating the customer. The details page shows the values 0, 1, 2, or 3.

For example, the Create view has a dropdown for Prospect Status with different values. I defined those in SelectListItem in the CustomersController. The value for Prospect Status in the database is actually a 0, 1, 2, or 3.

Customers/Create in CustomersController

        // GET: Customers/Create
        public ActionResult Create(CustomerModel model)
        {
            if (model.Confidence == null)
            {
                model.Confidence = new SelectList(new List<SelectListItem>(){

                    new SelectListItem(){Text="", Value="0"},
                    new SelectListItem(){Text="1 - Very Stable", Value="1"},
                    new SelectListItem(){Text="2 - Stable", Value="2"},
                    new SelectListItem(){Text="3 - At Risk", Value="3"},
                }, "Value", "Text");
            }
            if (model.ProspectStatus == null)
            {
                model.ProspectStatus = new SelectList(new List<SelectListItem>(){

                    new SelectListItem(){Text="Prospective Customer", Value="0"},
                    new SelectListItem(){Text="Existing Customer", Value="1"},
      

Open in new window

0
In IIS only affects certain customers. I can restart IIS issue goes away then randomly I get error emails again.  I think something do with identity service but it's a little Greek to me.

Project      County
PageURL      "removed"

ErrorMessage:      System.InvalidProgramException: Common Language Runtime detected an invalid program. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at …
0
Ho can I run Jenkins under my default website on port 80 in iis
0
I have a VB.Net page where I have implemented Impersonation using help from the following post:
"go to the post on impersonation using VB.Net"

Although it seems to be working when I access the page from the IIS server (not local) but when other users try to access it then they get the following error message:

An error occurred while attempting to impersonate.  Execution of this request cannot continue.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.


Exception Details: System.Web.HttpException: An error occurred while attempting to impersonate.  Execution of this request cannot continue.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): An error occurred while attempting to impersonate.  Execution of this request cannot continue.]
   System.Web.ImpersonationContext.get_CurrentThreadTokenExists() +227
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +12491258
   
0
I have a VMWare 5.5/5.1 environment and a Hyper V 2016 (Nano) environment. We're running IIS servers in both environments. The servers on VMWare perform at acceptable speed for IIS but the HyperV ones are dramatically slower (3-6x slower). For example, uploading to the IIS FTP on VMWare we'll pull 9MBytes/second (makes sense for our connection) and 1.5MBytes/second on the Hyper V one. The problem occurs on our Web apps too, a site that loads 23MBytes of data takes ~3 seconds from the guests on VMWare and 16-20 on the Hyepr V guests.

Previously we did a V2V of the IIS servers on the VMWare environment and noticed this problem, so we left them on the VMWare environment (they are Windows 2012 R2). The ones on Hyper V are 2016 and are intended to replace those servers. We had mistakenly thought that the issue was with the V2V and that a new server build would fix it.

Extra Info:
-The VMWare hosts are older servers, all servers have multiple teamed Gigabit NICs. VMQ is disabled on the Hyper V guests.
-Servers are on the latest updates since 2/10 (some even more up to date)
-SMBv2 Copies are 90+MBytes/second (limited by a firewall)
0
Keep up with what's happening at Experts Exchange!
LVL 12
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

I am trying to complete a Certificate Request and I keep getting the attached error.  I am currently logged on as a domain & local administrator.

There was an error while performing this operation.
Details:
Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED)

This is a WIndows Server 2012R2 machine running IIS 8.5.
C--Users-mmcglone-Desktop-Temp-2-com.JPG
0
I am facing a problem with custom error page in IIS 8.5
What i want to do is showing detailed errors only when connecting from the webserver itself, and a personalized custom error page for any connection coming from other hosts.
I have created a simple html page named SiteUnavailable.htm, and together with his images folder i have placed it in the IIS folder %systemdrive%\inetpub\custerr\
Then i have changed the setting from  IIS Manager , at the server top level, in IIS>Error Pages > Edit Feature Setting , selecting "Detailed error for local request and custom.. " , providing the custom html page full path and Type = File

No way, if i try opening a non existing path it shows a classic 404 error page (short from remote requests and detailed for locals)  and not mine
Still not working also if i set "Custom Error" both from local and remote requests

Once i've done these changes from the gui, it does not need editing web.config files, correct?
Can please help me troubleshooting this issue?

thanks a lot
0
Hi,

Windows Server 2012 R2 Standard - IIS 6.2

I'm getting the below error for one of my AppPools quite often:

A process serving application pool 'poolnamel' failed to respond to a ping. The process id was '23636'.

Do you know what could be causing this?

Thanks,
0
I had this question after viewing Publish asp.net  Website but folder is empty.

i am publish web side but not any file copy
0
Hi,

We are currently trying to get our macOS devices to play nice with Windows Authentication websites we host for a variety of 'intranet' websites for various staff services at our college.
As I understand it, we have IIS Web Servers hosting things like our staff home page, a forms system and a student landing page. These all authenticate using 'Windows Authentication' with 'Negotiate' and 'NTLM' set in the 'Providers' box.
These IIS servers are bound to an Active Directory, as are the macOS devices. When a user logs into, say, a MacBook on the domain using their domain credentials, I was under the assumption that Safari would simply 'just work' with NTLM auth and 'pass through' their domain credentials to access our internal web pages. This does not happen, however, and they are prompted for a username and password for each individual website we are hosting.

I have tried changing the trusted NTLM settings in Firefox and using this instead, however, the same thing happens and users are prompted to enter their credentials.
I must be missing something here and it may very well have something to do with our IIS setup.
I was also under the impression that Windows Auth made use of Kerberos authentication, and I have checked and verified that users are received a Kerberos ticket upon login on the Macs. However, this doesn't seem to be used for authenticating against our websites, even when explicitly setting Kerberos as a provider for authentication in IIS.

Any clues …
0
After upgrading to Windows 10, my local Development Copy of the code using my local IIS Express Version 10 is unable to get the current HttpContext.  The same code
works on our Development and Live Server that are running IIS 8.5.    I need help updating the code since it appears I can't use HttpContext.Current anymore.  

/// <summary>
        /// Returns the URL for this link
        /// </summary> 
        [NotMapped]
        public string trueUrl
        {
            get
            {
                if (url != null)
                    return url;

                if (HttpContext.Current != null)
                {
                    var urlhelper = new UrlHelper(HttpContext.Current.Request.RequestContext);
                    return urlhelper.Action(action, controller, new { area = area });
                }

                return "ERROR";
            }
        }

Open in new window

Error.PNG
0

Microsoft IIS Web Server

35K

Solutions

29K

Contributors

IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.