I have a website where a redirect has been setup to use a frameset.For example. My main site is x-site.com There is a redirect setup somewhere so that xsite.com redirects to x-site.com, but it does so by creating a frameset and placing x-site.com within there.This causes problems for users to login, and we don't need it to function in this fashion.I tried writing some simple .Net code to redirect the user to x-site.com, but it doesn't seem to work. This leads me to believe that there is something in IIS doing the redirect before the code can execute.How do I remove the frameset redirect?
How to I remove auto generated frameset in IIS?
redirects;iis;frameset
There isn't anything in IIS that would do a frame redirect automatically.  xsite.com had to have been set up as website with a single HTML document or script that contains the frame.The other possibility is that xsite.com isn't actually hosted by you at all, you are having your DNS registrar or a hosting company do the frame redirect for you.  It is very common for a registrar to do this, it is usually a checkbox when you register a domain.Ping both xsite.com and x-site.com to get their IP addresses.  If they match, then you are hosting it yourself and need to remove the website from your IIS configuration.  If they are different IP addresses, then log into your DNS registrar and choose a different redirection option or change the DNS servers to host it yourself.