title: Domain Name Forwarding With Masking Breaking Viewport
body: <p>So, I've discovered a rather interesting problem and was wondering if anyone else had come across it and maybe resolved it in some way. </p>
  
  <p>I'm in the process of developing a responsive site. This site is hosted <a href="http://nicholasarehart.com/designs" rel="noreferrer">here</a>. And the domain name <a href="http://ionclash.com" rel="noreferrer">iconclash.com</a> is being forwarded with masking to the subdomain. Things were going well, however I noticed that on mobile devices my viewport meta tag wasn't working. After examining the page I noticed that this was being injected:</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
     "http://www.w3.org/TR/html4/strict.dtd"&gt;
  &lt;html&gt;
  
  &lt;head&gt;
    &lt;title&gt;ionclash.com&lt;/title&gt;
  
  &lt;/head&gt;
  &lt;frameset rows="100%,*" border="0"&gt;
    &lt;frame src="http://nicholasarehart.com/designs/" frameborder="0" /&gt;
    &lt;frame frameborder="0" noresize /&gt;
  &lt;/frameset&gt;
  </code></pre>
  
  <p>This seems to be breaking the viewport tag. If you visit the subdomain directly, you'll see that the tag is working but if you visit the domain name that it being forwarded to it, it isn't. So, has anyone else ever seen this? Or resolved it? At the very least I think its something to be aware of.</p>
  
  <p>Edit: <a href="http://opensourcehacker.com/2012/01/09/setting-mobile-browser-viewport-mobilizing-websites-with-responsive-design-and-html5-part-4/comment-page-1/#comment-6283" rel="noreferrer">seems someone else may have encountered this problem</a>.</p>