Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Working overly tired caused me to use the wrong web.config file in my application, therefore applying a permanent redirect on the wrong URL!!

I was meant to convert:

http://www.mydomain.net to https://mydomain.net

but, I did this instead (notice .co.uk):

http://www.mydomain.net to https://mydomain.co.uk

Our .co.uk domain isn't used anymore but we still own it.

I managed to delete the rule pretty quickly from the config file, as luckily it's in development stages and nobody would have landed on it anyway, and I also deleted the rule from IIS too. However, my browser still gets redirected to the wrong domain but other browsers don't. So I assume everything is OK apart from my browser has cached the rule somehow and somewhere.

Have I done any permanent damage to how my site will run in the future and do I need to do anything else to remove this incorrect rule?

share|improve this question

closed as off topic by Chris S Jul 19 '12 at 3:12

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Clear the cache on your browser.... –  Chris S Jul 19 '12 at 3:12
    
@ChrisS - what's off-topic about IIS Rewrite Module? And you commented on it! You're off-planet. –  PaparazzoKid Jul 19 '12 at 3:16
1  
@MartinG - Questions on Server Fault are expected to relate to servers, networking, or desktop infrastructure within the scope defined in the FAQ. - although URL re-writing is really grey area. Anyway don't be too upset, you got the answer you were looking for, so alls well that ends well –  Mark Henderson Jul 19 '12 at 3:19

1 Answer 1

up vote 3 down vote accepted

Since the 301 status means a "permanent" redirect, some browsers will cache it.

Clearing the browser's cache should do the trick.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.