[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



<VirtualHost www.blah.com:80>
    ServerName www.blah.com
    DocumentRoot /www/
    .....
</VirtualHost>
<VirtualHost www.blah.com:80>
    ServerAlias blah.*  # catches blah.net and blah.com
    Redirect permanent / <a  rel="nofollow" href="http://www.blah.com/";>http://www.blah.com/</a>
&lt;/VirtualHost&gt;

Make sense?

-Jim P.

--- fgz &lt;fzamenski at voyager.net&gt; wrote:

&gt; 
&gt; The boss calleth on me today, with a 'simple request'. This is for a
&gt; small business site: what I want to achieve is to have any end-user
&gt; simply enter a valid domainname into their browser, then have that name
&gt; redirect to a business website, i.e. they'll enter smallbiz.com, and
&gt; they go off to www.smallbiz.com. Obviously many big sites do this: for
&gt; instance, yahoo.com will redirect to www.yahoo.com. An nslookup on
&gt; yahoo.com will give the IP/names of several servers - or maybe cluster
&gt; redirectors, or a bunch of load balancing devices, perhaps? Anyway,
&gt; simply doing a cname to a webserver doesn't work (didn't think it would,
&gt; but I tried anyway. ;) Is there a simple way to do this? Any good
&gt; concise, favored, resources on the web that address this? Our external
&gt; DNS server is an ancient Solaris 2.6 box, with a really nasty old
&gt; version of bind. In-house webservers are iPlanet ws6sp5 on Solaris 9.
&gt; 
&gt; Thanks.
&gt; -fgz
&gt; 
&gt; 
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01149" href="msg01149.html">[ale] OT- sorta  - DNS</a></strong>
<ul><li><em>From:</em> fzamenski at voyager.net (fgz)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01157.html">[ale] Introduction</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01159.html">[ale] Introduction</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01153.html">[ale] OT- sorta  - DNS</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01150.html">[ale] Introduction</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01158"><strong>Date</strong></a></li>
<li><a href="threads.html#01158"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>