All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
67 views

How do I redirect a subdomain to another internal webserver without affecting the RDP Gateway

we have a standard windows server 2022 running IIS 10 and remote desktop gateway. we use rdp.domain.com for the gateway address for external RDP Users. we would like to run another internal windows ...
Arthur's user avatar
  • 1
0 votes
0 answers
3k views

IIS 10 will not redirect HTTP to HTTPS after enabling HSTS

I am attempting to force end users onto HTTPS when visiting our site. I have HSTS enabled in IIS at the site and application level. I have an HTTP redirect set up at the site level to https://...
Greg Burghardt's user avatar
0 votes
1 answer
324 views

Why does IIS timeout http requests on phones, but accepts https?

I followed this solution on how to redirect http to https. It works on pc but not on phones for some reason (and im sure neither on iPad or tablets). You can test the website here. I think IIS is ...
Allart's user avatar
  • 101
0 votes
0 answers
621 views

HTTP redirect partially works

We have two applications behind our router listening on port 80/443. The router has just one valid IP address. The first application is a mail server and the second one is our source control server. ...
Omid Shojaee's user avatar
0 votes
1 answer
173 views

Apache/IIS redirect subfolder with same domain name

I have 2 servers : -1 in IIS -1 in apache I have a domain like example.com . i would to make some redirection so when you enter http://example.com you are going on the IIS server When you enter http://...
hutchuck's user avatar
0 votes
1 answer
460 views

Do I have to set web farm for multiple web sites in the same IIS server?

I have multiple web sites hosted in the same IIS 8.5. The web sites names are same but different ports or http/https. For example, http://www.mydemosite.com (using default port 80) https://www....
Love's user avatar
  • 103
0 votes
2 answers
1k views

Redirect IIS folder to another server

I've been searching for the correct solution for a while; it seems like this should be a simple thing, but I can't find clear examples or instructions. I have a number of applications on an IIS Server ...
Robert Altman's user avatar
0 votes
1 answer
3k views

IIS: Redirect HTTP to HTTPS for all URLs

For our website (Windows Server 2016 Datacenter, IIS 10) we use two different URLs - lets say url1.com and url2.com by using the same root directory and the same application pool. In our web.config ...
Bernd Morgeneyer's user avatar
3 votes
1 answer
1k views

Redirect to different domain in using IIS URL Redirect Module not redirecting

I'm using IIS 8.5 with the URL Redirect module installed. My use case is that we have a defunct web site (www.xyz.com) and would like all requests to this site be redirected to another site (www.123....
BKahuna's user avatar
  • 131
0 votes
1 answer
1k views

Invisible redirection to IIS site

I developped and set up an IIS website for a customer, and I would like my customer to be able to make an invisible redirection to this site, so that users will see only my customer's subdomain and ...
BlackMushroom's user avatar
0 votes
0 answers
42 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 ...
RobertM's user avatar
1 vote
0 answers
29 views

In IIS, I need a temporary redirect to a page, and then continue to originally requested destination. Is this possible?

We have some IIS web servers running many applications. There may come a day where we want to display a message to the users of all applications on our servers. Then we want them to be able to ...
Bill Seldon's user avatar
1 vote
1 answer
5k views

Redirect URL in IIS to different domain and remove portions of the URL

We currently have URLs like: https://tfs.mydomain.com/tfs/MyProjectCollection/Project/_workitems that I need redirected to: https://dev.azure.com/MyOrg/Project/_workitems Using the HTTP Redirect ...
deadlydog's user avatar
  • 438
0 votes
1 answer
625 views

Add or do not add WWW hostnames to SAN certificate

My setup is as follows: 100+ websites Each website has two host headers any.com and www.any.com Requests for www.any.com are redirected to any.com without changing protocol Some of these websites ...
Salman A's user avatar
  • 502
1 vote
1 answer
7k views

domain name to virtual directory IIS

Our company hosts our own website on a leased server (windows 2012 R2) To access it, we can use the IP (http://159.68.xxx.xxx) or the domain name we purchased (www.example1.com), which is simply a ...
Mike H's user avatar
  • 23
0 votes
1 answer
2k views

IIS connection reset after redirecting http to https

I'm getting a connection reset error in browsers when I redirect a URL from http to https. I'm trying to locate the issue and have looked in C:\Windows\System32\LogFiles\HTTPERR and see only ...
kel's user avatar
  • 123
1 vote
1 answer
1k views

IIS and Apache rewrites and redirects working together

I'm having some trouble with IIS and apache working on the same server. Specifically, any redirects that apache does don't replace the website domain with the target domain. Here's an example: Trying ...
Cohaven's user avatar
  • 51
1 vote
0 answers
2k views

IIS 10 URL Rewrite HTTP to HTTPS redirect on same port

I would like an easy redirect but doesn't work. Original: http://exwebsite.com:8084 to Redirect: https://exwebsite.com:8084 Can u help me? The simple <add input="{HTTPS}" pattern="off" /> and ......
David's user avatar
  • 11
1 vote
0 answers
200 views

301 redirect on IIS with optional query string

I have a working 301 redirect setup for languages that looks like this: <rule name="mygreatrule" stopProcessing="true"> <match url="^productname" /> <conditions logicalGrouping=...
Bernd Basmer's user avatar
-2 votes
2 answers
3k views

http to https redirection multiple sites

I use IIS10 and I want to redirect all HTTP to HTTPS for all my sites. For example: http://one.test.example should be redirected to https://one.test.example http://two.test.example should be ...
Omar Bennani's user avatar
1 vote
1 answer
911 views

Something redirects from HTTPS to HTTP and it is NOT our IIS server

I need to "move" a company site from HTTP to HTTPS on IIS 7.5. I added the HTTPS Binding in IIS. However, any time I try to browse the site with "https://www.example.com" I am being redirected to "...
Arie Livshin's user avatar
2 votes
0 answers
776 views

Is there a way i can track which IIS server redirects are being used

Our web.config file has 1300 redirects in it and growing all the time. Its a mixture of 4 site rebuilds over 15 years and marketing vanity URLS. My question is 3 part. does having to search through ...
PJSANTA's user avatar
  • 21
85 votes
2 answers
208k 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 ...
userSteve's user avatar
  • 1,583
1 vote
0 answers
461 views

Windows web config redirect, different folder name and domain

I have 2 websites and a few thousands links with the same pattern that need to be redirected. I want to achieve this by writing the code one time and for it to work for all of the URLs. This is the ...
Speedwheelftw's user avatar
0 votes
1 answer
2k views

HTTP Redirect versus URL Rewrite (IIS)

In the IIS menu you have HTTP Redirect and URL Rewrite. The latter then has a rewrite action and a redirect action. I'm wondering what is the difference between all these.
user8056359's user avatar
1 vote
2 answers
6k views

Convert IIS web.config redirection rules to Apache .htaccess

I got to move an old PHP site from Windows IIS to Linux Apache server. There are some redirection rules I have to convert. Part of them I already managed, but for some other rules I lack the ...
Oleg Burca's user avatar
1 vote
1 answer
1k views

redirecting http to https excluding query of server by ip address

How can I redirect all http://www.example.com traffic to https://www.example.com but I don't want to redirect http://1.2.3.4 to https://www.example.com (given that 1.2.3.4 is the ip address of www....
MirrorMirror's user avatar
0 votes
1 answer
290 views

DNS redirect to website directory

We've currently got one DNS record connecting to many web applications in IIS through DNS Made Easy. eg. myDNSName.example.com/Customer1 myDNSName.example.com/Customer2 This worked fine because ...
Matt's user avatar
  • 119
0 votes
1 answer
2k views

Setting up DNS Records to Always Resolve to the Naked Domain (without www)

I am using Enom.com's DNS Servers to manage several domains' DNS settings. I'm having trouble understanding how to correctly set up the DNS so that all http requests will resolve to a naked domain ...
Metro Smurf's user avatar
0 votes
1 answer
2k views

How to make IIS 7/8 rewrite and redirect URL with DB Provider

Please, have patience if this question is long but I have never worked on this complex program which was developed by colleague of mine before I was recruited. We have this web application running ...
Lory Lory's user avatar
  • 131
0 votes
1 answer
433 views

Redirect request from IIS to apache with virtual host without change the URL

i have a bunch of apache servers behind a IIS, each server have one site running and the subdomain redirect from IIS to Apache is working fine with URL rewriter + ARR, like below: ---...
Felipe AA's user avatar
1 vote
2 answers
474 views

How to change port of a redirect recieved by nginx?

I have set up an nginx on my server. It receives all requests and pass them to an IIS server behind it. My problem is since my site is running on port 2000 sometimes it sends redirects to nginx that ...
Iman  Mohamadi's user avatar
3 votes
2 answers
2k views

Certificate Error before redirecting to correct name

Using IIS in Windows server 2012 R2. I have a website which can be reached at url.com and www.url.com. I have https://url.com set up using https://letsencrypt.org/. I want to redirect all incomming ...
JensB's user avatar
  • 259
1 vote
2 answers
5k views

310 'Too many redirects' error that comes every few hours and resolves itself within a few minutes

Following some recent changes (see below), the URL https://mysite.tld works fine until every 3-6 hours, httpstatus.io starts reporting 11 redirects (it doesn't details those redirects however, it just ...
user20856's user avatar
1 vote
1 answer
1k views

How to install the HTTPRedirectionModule on IIS 7.5 (Windows 7)?

I'm trying to test redirects on my localhost (Windows 7 running IIS7 ASP.NET 4.6) and after struggling to figure out why it wasn't working I noticed IIS7.5 doesn't come with the HTTPRedirectioModule ...
Organic's user avatar
  • 113
1 vote
0 answers
492 views

Redirect IIS with multiple domains

In IIS7 there is a rule in place to redirect to HTTPS automatically that is used by our site. <rule name="Redirect to HTTPS" enabled="true" stopProcessing="false"> <match url="(.*)" />...
Manderton's user avatar
0 votes
1 answer
5k views

HSTS & redirects on IIS 8.5

I'm having a problem getting my IIS 8.5 server to behave as desired. I am attempting to host two domains on the same IP address, both on https, using separate webservers. Naturally, IIS is setup as ...
end-user's user avatar
  • 145
-1 votes
1 answer
124 views

Redirect old directory to new directory IIS [closed]

We used to have our website on a directory like this www.example.com/web/ and now we moved to IIS and removed the "web" directory. How do I redirect the requests from www.example.com/web/ to www....
Nick's user avatar
  • 101
2 votes
1 answer
1k views

Redirect HTTP to HTTPS using IIS is not working for SharePoint Site

I have a Web Application. Its AAM is as follows- Zone Public URL for Zone Default http://sharepoint:46543 Internet http://abc.something.com Custom https://abc.something.com ...
soccer7's user avatar
  • 185
1 vote
1 answer
10k views

Configuring IIS rewrite module to redirect any host name to a specific host name

I have a website whose name I am changing from example.com to newexample.com. My thought process (please comment on this as well, as my approach may be incorrect) was to configure permanent a ...
Howiecamp's user avatar
  • 495
0 votes
1 answer
585 views

Forward Slash within a reverse proxy for Wordpress

I have a Wordpress website within a reverse proxy that generally works fine. I have noticed a issue today where I delete the trailing forward slash it redirects me to the target (non reverse-proxy) ...
Rob's user avatar
  • 1
1 vote
1 answer
1k views

Create a page on MS Azure that redirects out to URL

I need to create a page on our Azure site that redirects immediately to a URL. So, I'd like to have http://mysite.azurewebsites.net/testimonials always go to an external URL. This can be done via ...
Alex's user avatar
  • 271
1 vote
1 answer
649 views

Local IIS webpage address is IP:PORT - How can i have it set to something more human readable, like teehut.com, on my local network?

I am running windows 7 - installed IIS and created a new site. I set this site to run on port 8080. Currently, if i visit http://192.168.2.150:8080/ or localhost:8080, i can hit my site. Other ...
jordan's user avatar
  • 111
1 vote
1 answer
468 views

Using query string to redirect/rewrite to different internal IIS sites

I have an Azure VM that is hosting a web application. The application will be accessible via the VM's IP address: http://191.238.112.62 I want to be able to use query strings to redirect to ...
Richard Watts's user avatar
2 votes
2 answers
2k views

IIS URL Rewrite 404 Error

I am running a small intranet site off Windows 7 and IIS and I have a page page/LoadPage.aspx which is an ASPX container page for displaying a requested page, e.g. http://localhost/page/LoadPage.aspx?...
Dog Lover's user avatar
  • 141
2 votes
2 answers
4k views

any url rewrite rule causes internal server error on iis7

I have iis7 on a Windows server 2008 and iis url rewrite module 2 installed. Any url rewrite rule (in my case a simple canonical domain name rule) causes the webapp to return an error 500. In my ...
rjlopes's user avatar
  • 118
0 votes
4 answers
3k views

IIS7.5 Rewrite one SSL port to another with multiple SSL bindings/certs

My web server (which only hosts for intranet sites) has two certificates. One is a wildcard cert for subdomains, and the other is the server's cert which is used for internal like tools. Wildcard ...
klyd's user avatar
  • 223
0 votes
1 answer
2k 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="(.*)" /> <...
AndrewHPI's user avatar
1 vote
1 answer
983 views

Optimum IIS configuration for SSL redirect with multiple certificates installed

I have an IIS7/WinServer2008 configuration with a wildcard SSL certificate installed (*.mydomain.com). The web server holds several websites each configured to route via a host header off the same IP ...
John Livermore's user avatar
1 vote
0 answers
2k views

This page has a redirect loop when using HTTP Redirect in IIS 8

This one's got me...all I'm trying to do is use the HTTP Redirect feature in IIS 8 to redirect to a different page/directory, but when I do, it says this page has a redirect loop. The site has ...
Christopher Bruce's user avatar