Posts

Showing posts from May, 2019

Redirect HTTP/HTTPS IIS

Image
Setting up an HTTP/HTTPS redirect in IIS Once the SSL certificate is  installed , your site still remains accessible via a regular insecure HTTP connection. To connect securely, visitors must specify the https:// prefix manually when entering your site’s address in their browsers. In order to force a secure connection on your website, it is necessary to set up a certain HTTP/HTTPS redirection rule. This way, anyone who enters your site using a link like “yourdomain.com” will be redirected to “https://yourdomain.com” or “https://www.yourdomain.com” (depending on your choice) making the traffic encrypted between the server and the client side. Below are steps to setup a IIS HTTPS redirect: Download and install  the “URL Rewrite” module. Open the “IIS Manager” console and select the website you would like to apply the redirection to in the left-side menu: Double-click on the “URL Rewrite” icon. Click “Add Rule(s)” in the right-side menu. Select “Blank Rule” in the ...

Allow ASPNET access folder in server machine

To avoid "Access to the path "...." is denied". We need to allow full access to ASPNET Right click on your folder on your server or local machine and give full permissions to IIS_IUSRS