Show other domain using DNS instead of iframe

Show other domain using DNS instead of iframe - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Show other domain using DNS instead of iframe error on your web browser. Problem :


I have two domains bought at different providers and I would like http://aaaaa.com to show http://bbbbb.com/aaaaa.



Is this possible using only DNS? Must I transfer the domain to my hosting provider?
I really don't want to use a redirection or iframe.


Solution :

i think this could be done using some rewrite-rules.



f.e:



you could set the A records for the domains to the same server, then check what is coming in and rewite it...



see for apache:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
there is also one for IIS
http://www.micronovae.com/ModRewrite/



update: on shared-hosting environments .htaccess is more likely the place where this could be set.



cu



I think people typically use Reverse Proxies in this case. For example you can set up any request for:



http://a.com to serve the content from http://b.com/a.  


You can read more about this on Apachetutor Reverse Proxies


We hope that this article has helped you resolve the redirects, dns, iframe error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=