[Discuss] DNS redirect to custom content page

R. McFarlane techie at mcfarlanecomputing.net
Mon Jul 24 20:26:24 PDT 2006


Hello all,

         Okay, I know the subject line might be a little vague, so 
here it goes with more detail (I hope that makes sense).

         When a domain name request comes into my server, and that 
domain name is not setup (eg : it's a newly created domain name) with 
it's own web space yet, I would like to "redirect" to a page on the 
web server that loads a "newly registered" type web page but the 
content of the web page will have ad words like ads that need to be 
triggered on the domain name (eg : instantcreditnow.com would load credit ads).
         From what I know of bind, this is not possible (please 
correct me if I am wrong). As such, I think I need to use PHP (or 
something similar) to do what I want by checking the referrer 
information. This custom scripted page would have to be the 
index/default page of course for where bind redirects the requests to 
(eg : DNS query --> bind --> web server --> php).

         Does anyone have any insights?

Thanks in advance!


http://www.mcfarlanecomputing.net/ 



More information about the Discuss mailing list