<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Homo-Adminus Blog - Latest Comments in Hosting Tricks: Как привязать неограниченное количество доменов к одному хостинг-аккаунту</title><link>http://homo-adminus.disqus.com/</link><description></description><language>en</language><lastBuildDate>Wed, 02 Apr 2008 16:29:26 -0000</lastBuildDate><item><title>Re: Hosting Tricks: Как привязать неограниченное количество доменов к одному хостинг-аккаунту</title><link>http://blog.kovyrin.net/2006/03/06/hosting-unlimited-domains-in-one-domain-hosting/#comment-2460224</link><description>Can the opposite of this be accomplished?&lt;br&gt;&lt;br&gt;Can I make it so that when a user visits &lt;a href="http://existing-site.com/new-site" rel="nofollow"&gt;http://existing-site.com/new-site&lt;/a&gt; the content is served from &lt;a href="http://subdomain.new-site.com?" rel="nofollow"&gt;http://subdomain.new-site.com?&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric</dc:creator><pubDate>Wed, 02 Apr 2008 16:29:26 -0000</pubDate></item><item><title>Re: Hosting Tricks: Как привязать неограниченное количество доменов к одному хостинг-аккаунту</title><link>http://blog.kovyrin.net/2006/03/06/hosting-unlimited-domains-in-one-domain-hosting/#comment-2460223</link><description>If you need several domains (for example, &lt;a href="http://domain1.com" rel="nofollow"&gt;domain1.com&lt;/a&gt;, &lt;a href="http://domain2.com" rel="nofollow"&gt;domain2.com&lt;/a&gt;, &lt;a href="http://domain3.com" rel="nofollow"&gt;domain3.com&lt;/a&gt;), you need to re-initialize mod_rewrite using &amp;lt;tt&amp;gt;RewriteEngine On&amp;lt;/tt&amp;gt; (otherwise you will receive 500 error):&lt;br&gt;&lt;br&gt;&lt;code&gt;&lt;br&gt;#domain1.com - base domain&lt;br&gt;&lt;br&gt;#domain2.com&lt;br&gt;RewriteEngine On&lt;br&gt;RewriteBase /&lt;br&gt;RewriteCond %{HTTP_HOST} &lt;a href="http://domain2.com" rel="nofollow"&gt;domain2.com&lt;/a&gt;&lt;br&gt;RewriteRule (.*) &lt;a href="http://domain1.com/domain2/%241" rel="nofollow"&gt;http://domain1.com/domain2/$1&lt;/a&gt; [L]&lt;br&gt;&lt;br&gt;#domain3.com&lt;br&gt;RewriteEngine On&lt;br&gt;RewriteBase /&lt;br&gt;RewriteCond %{HTTP_HOST} &lt;a href="http://domain3.com" rel="nofollow"&gt;domain3.com&lt;/a&gt;&lt;br&gt;RewriteRule (.*) &lt;a href="http://domain1.com/domain3/%241" rel="nofollow"&gt;http://domain1.com/domain3/$1&lt;/a&gt; [L]&lt;br&gt;&lt;br&gt;#specific options for &lt;a href="http://domain1.com" rel="nofollow"&gt;domain1.com&lt;/a&gt; will be here&lt;br&gt;&lt;/code&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kpumuk</dc:creator><pubDate>Thu, 23 Mar 2006 05:06:24 -0000</pubDate></item></channel></rss>