<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1019252" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1019252</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/one-site-two-urls#comment-1114507</link>
    <description> &lt;p&gt;1. Only replace the first &quot;domain.com&quot; with your own domain name and put a &quot;\&quot; (backslash) before the &quot;.&quot; (dot).. i.e. &quot;domain\.com&quot;&lt;/p&gt;
&lt;p&gt;2. You can removed those two lines as they are only comments.&lt;/p&gt;
&lt;p&gt;3. Actually, I was wrong, use &lt;strong&gt;$_SERVER[&quot;HTTP_HOST&quot;]&lt;/strong&gt; instead.&lt;/p&gt;
 </description>
     <pubDate>Sat, 21 Sep 2002 04:32:10 +0000</pubDate>
 <dc:creator>zollet</dc:creator>
 <guid isPermaLink="false">comment 1114507 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/one-site-two-urls#comment-1114493</link>
    <description> &lt;p&gt;Awesome!  Thanks.  I won&#039;t get started on coding for several weeks, but let me make sure I get this right (I&#039;m not a real webmaster so I need to make sure I understand &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;).  &lt;/p&gt;
&lt;p&gt;1) There&#039;s a &quot;\&quot; before the domain in the first part but but not in the other two places, right?  (with me replacing it with my &#039;primary&#039; domain name)&lt;/p&gt;
&lt;p&gt;2) I don&#039;t need to write &quot;//if domain.com, then execute code here&quot;, I just put some php code (ie. an include file call) in those two orange areas, right?&lt;/p&gt;
&lt;p&gt;3) Just checking, but is that a typo in &quot;REQUEST_URI&quot; (should it be REQUEST_UR&lt;strong&gt;L&lt;/strong&gt;)?&lt;/p&gt;
&lt;p&gt;Thanks again.  I&#039;m looking forward to trying this out!&lt;/p&gt;
 </description>
     <pubDate>Sat, 21 Sep 2002 01:16:44 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1114493 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/one-site-two-urls#comment-1114477</link>
    <description> &lt;p&gt;Yes, you easily could do that with PHP...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;eregi&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;domain\.com\&quot;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SERVER&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;HTTP_HOST\&quot;])) {&lt;br /&gt;&amp;nbsp; //if domain.com, then execute code here&lt;br /&gt;} else {&lt;br /&gt;&amp;nbsp; //if other than domain.com (i.e. domain.net) execute code here&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Hmm.. the board doesn&#039;t show the backslash &quot;\&quot; before the &quot;.&quot; in eregi(). Anyways, the &quot;domain.com&quot; should be &quot;domain\.com&quot;&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Sep 2002 21:04:57 +0000</pubDate>
 <dc:creator>zollet</dc:creator>
 <guid isPermaLink="false">comment 1114477 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/one-site-two-urls#comment-1114473</link>
    <description> &lt;p&gt;Actually, now that I know it&#039;s possible (depending on what my host says), is there some sort of script that can say &quot;if url says abc.com then load this graphic or include file&quot;?&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Sep 2002 20:04:04 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1114473 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/one-site-two-urls#comment-1114472</link>
    <description> &lt;p&gt;Cool.  Thanks.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Sep 2002 19:59:51 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1114472 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/one-site-two-urls#comment-1114467</link>
    <description> &lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;You can have multiple domains show the same website without forwarding or framing, etc. For example, we have many customers that have .com and .net of a domain and want all to load the same site. You can also have the email work for both domains. As Julia suggested, you need to talk with your web host about this and see if they can do it for you, but it is possible.&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Sep 2002 19:30:45 +0000</pubDate>
 <dc:creator>zollet</dc:creator>
 <guid isPermaLink="false">comment 1114467 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/one-site-two-urls#comment-1114466</link>
    <description> &lt;p&gt;Ask your host whether the two domains can both point to the same folder on the server and that way you can have the two domains sharing the same site but will still have their own addresses shoing in the browser.&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Sep 2002 18:46:33 +0000</pubDate>
 <dc:creator>The Webmistress</dc:creator>
 <guid isPermaLink="false">comment 1114466 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
