Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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"?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
I didn't realize this could be done at the DNS level. I did a quick ping and sure enough I'm getting a different IP address for the two domains. I'll do some digging into the host and come back to update. –  Dillie-O Feb 26 '13 at 13:09
1  
Its not actually done at the DNS level, DNS registrars typically run simple hosting for common cases like redirects and offer them for free because they are easy to do, for domain parking they can make money on ads, and customers expect it. –  Stephen Ostermiller Feb 26 '13 at 13:19
    
Make sense. Thanks! –  Dillie-O Feb 26 '13 at 15:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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