<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Tags/Multiple Domains Under One Site on Emad Alashi</title>
    <link>https://emadashi.com/tags/multiple-domains-under-one-site/</link>
    <description>Recent content in Tags/Multiple Domains Under One Site on Emad Alashi</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 26 Dec 2011 17:10:40 +0000</lastBuildDate>
    <atom:link href="https://emadashi.com/tags/multiple-domains-under-one-site/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Hide Subfolder in Multiple Domains Under One Site</title>
      <link>https://emadashi.com/2011/12/hide-subfolder-in-multiple-domains-under-one-site/</link>
      <pubDate>Mon, 26 Dec 2011 17:10:40 +0000</pubDate>
      <guid>https://emadashi.com/2011/12/hide-subfolder-in-multiple-domains-under-one-site/</guid>
      <description>&lt;p&gt;After I have moved to &lt;a href=&#34;http://www.winhost.com/&#34;&gt;WinHost&lt;/a&gt;, I was surprised they don’t support multiple domains under one site out of the box; you have to rely on IIS URL Rewrite magic to achieve that.&lt;/p&gt;
&lt;p&gt;So as expected, I looked for a solution in their KB and the internet (you don’t reinvent the wheel, remember?) and found couple of posts &lt;a href=&#34;http://learn.iis.net/page.aspx/465/url-rewrite-module-configuration-reference/&#34;&gt;here&lt;/a&gt;, &lt;a href=&#34;http://learn.iis.net/page.aspx/500/testing-rewrite-rule-patterns/&#34;&gt;here&lt;/a&gt;, &lt;a href=&#34;http://weblogs.asp.net/owscott/archive/2010/01/26/iis-url-rewrite-hosting-multiple-domains-under-one-site.aspx&#34;&gt;here&lt;/a&gt;, and &lt;a href=&#34;http://forum.winhost.com/showthread.php?t=4545&amp;amp;highlight=url&amp;#43;rewrite&#34;&gt;here&lt;/a&gt; that helped a lot in achieving this.&lt;br&gt;
So I managed to have &lt;a href=&#34;http://www.emadashi.com&#34;&gt;www.emadashi.com&lt;/a&gt; and &lt;a href=&#34;http://www.dotnetarabi.com&#34;&gt;www.dotnetarabi.com&lt;/a&gt; working fine together residing in the folders “emadashi-blog” and “dotnetarabi-root” respectively under the root; they both have same IP address, but upon request a redirection is made to the proper application folder.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
