On 10 12 2002 at 5:31 pm -0500, Bargain Empire Online wrote:

>I wanted to know if anyone out there has any idea on how to create a 
>domain parking page.
[...]
>I mean domains registered at my site already point to my primary and 
>secondary nameservers, but how do I make a parking page for all domains 
>that point to those nameservers?

Well, the simplest is to just set up your web server to return given data
for any othewrise-unconfigured domain.  I do a similar thing on my
virtual server where I host many domains; try http://virtual.zygoat.ca. 
For fun, set up a CNAME for bogus.bargainempire.com to point to
66.11.168.214, punch it in to your browser, and watch my server greet you
with "welcome to bogus.bargainempire.com".

With apache, it's almost easier to set this up by accident than it is to
actually configure a domain:  just set up NameVirtualHost for your IP
address, then specify a valid <VirtualHost> ... </> section (making sure
it is the FIRST one in the conf file for that IP address), and any non-
matching virtual host sent to that IP will use it.

-ben

-- 
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca


Reply via email to