<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: two folders two domains one website</title>
	<link>http://ask.metafilter.com/103155/two-folders-two-domains-one-website/</link>
	<description>Comments on Ask MetaFilter post two folders two domains one website</description>
	<pubDate>Wed, 01 Oct 2008 10:22:18 -0800</pubDate>
	<lastBuildDate>Wed, 01 Oct 2008 10:22:18 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: two folders two domains one website</title>
		<link>http://ask.metafilter.com/103155/two-folders-two-domains-one-website</link>	
		<description>Two domain names loading the same website - only the websites aren&apos;t being served from the same folder, despite the fact that they are served from the same server. There exist two folders: users on a Unix machine. How can I get both domain names to serve up the website from the same folder? And is there any reason I should NOT do this? &lt;br /&gt;&lt;br /&gt; I don&apos;t think there&apos;s a webmin...&lt;br&gt;
&lt;br&gt;
Thanks!</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.103155</guid>
		<pubDate>Wed, 01 Oct 2008 09:58:36 -0800</pubDate>
		<dc:creator>dance</dc:creator>
		
			<category>webdesign</category>
		
			<category>htaccess</category>
		
			<category>server</category>
		
			<category>linux</category>
		
			<category>apache</category>
		
	</item> <item>
		<title>By: enn</title>
		<link>http://ask.metafilter.com/103155/two-folders-two-domains-one-website#1494547</link>	
		<description>If I&apos;m understanding you correctly....&lt;br&gt;
&lt;br&gt;
You just need one [Name]VirtualHost with multiple ServerNames in your Apache conf (or to forgo VirtualHosts entirely if these are the only two domains being served from this machine). Assuming you&apos;re running Apache. It sounds like currently you have two [Name]VirtualHosts with different DocumentRoots. But it&apos;s difficult to say exactly what you need to change without much more detail as to your current configuration.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.103155-1494547</guid>
		<pubDate>Wed, 01 Oct 2008 10:22:18 -0800</pubDate>
		<dc:creator>enn</dc:creator>
	</item><item>
		<title>By: rokusan</title>
		<link>http://ask.metafilter.com/103155/two-folders-two-domains-one-website#1494634</link>	
		<description>As enn said. Or leave the two virtual host entries, since they seem otherwise fine, and just correct the mistake in the apache configuration by making the DocumentRoots the same. Restart apache, poof.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.103155-1494634</guid>
		<pubDate>Wed, 01 Oct 2008 11:14:40 -0800</pubDate>
		<dc:creator>rokusan</dc:creator>
	</item><item>
		<title>By: mendel</title>
		<link>http://ask.metafilter.com/103155/two-folders-two-domains-one-website#1494644</link>	
		<description>The reason you should not do this is that Google has a very severe duplicate content penalty. If you need either site to appear in Google searches, have one domain redirect to the other instead of both having the same content.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.103155-1494644</guid>
		<pubDate>Wed, 01 Oct 2008 11:24:50 -0800</pubDate>
		<dc:creator>mendel</dc:creator>
	</item><item>
		<title>By: jeffburdges</title>
		<link>http://ask.metafilter.com/103155/two-folders-two-domains-one-website#1494679</link>	
		<description>You can&apos;t just warn google that your mirroring the other site?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.103155-1494679</guid>
		<pubDate>Wed, 01 Oct 2008 11:50:54 -0800</pubDate>
		<dc:creator>jeffburdges</dc:creator>
	</item><item>
		<title>By: camcgee</title>
		<link>http://ask.metafilter.com/103155/two-folders-two-domains-one-website#1494888</link>	
		<description>Is there a reason to keep both URLs intact? Can&apos;t you just have one redirect to the other?&lt;br&gt;
&lt;br&gt;
Otherwise, seconding enn&apos;s advice about setting both virtual hosts to the same document root.&lt;br&gt;
&lt;br&gt;
Regarding the reason not to do it, mendel&apos;s point about the duplicate content penalty is only relevant if you depend on Google searches. Even if you do, keep in mind &lt;a href=&quot;http://www.google.com/support/webmasters/bin/answer.py?answer=66359&quot;&gt;that Google says&lt;/a&gt;,&lt;br&gt;
&lt;blockquote&gt;Duplicate content on a site is not grounds for action on that site unless it appears that the intent of the duplicate content is to be deceptive and manipulate search engine results. If your site suffers from duplicate content issues, and you don&apos;t follow the advice listed above, we do a good job of choosing a version of the content to show in our search results.&lt;/blockquote&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.103155-1494888</guid>
		<pubDate>Wed, 01 Oct 2008 14:26:39 -0800</pubDate>
		<dc:creator>camcgee</dc:creator>
	</item><item>
		<title>By: davejay</title>
		<link>http://ask.metafilter.com/103155/two-folders-two-domains-one-website#1494993</link>	
		<description>&lt;em&gt;You can&apos;t just warn google that your mirroring the other site?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Nope, you can&apos;t.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.103155-1494993</guid>
		<pubDate>Wed, 01 Oct 2008 16:03:31 -0800</pubDate>
		<dc:creator>davejay</dc:creator>
	</item>
	</channel>
</rss>
