Creating a Catch-Everything Catch-All

Stefan Puiu stefan.puiu at gmail.com
Tue Oct 18 19:10:23 UTC 2005


Please try searching this list's archives just as ferociously, I follow it
and I'm pretty sure this question gets asked every week at least :).
In fact, somebody just asked about it:

http://marc.theaimsgroup.com/?l=bind-users&m2956930209233&w=2

An older thread with some suggestions:
http://marc.theaimsgroup.com/?l=bind-users&m1404604013643&w=2

Just search the archives (http://marc.theaimsgroup?l=bin-users) for
"wildcard domain".

On 10/18/05, ics.org at donnacha.com <ics.org at donnacha.com> wrote:
>
> Please forgive my lack of clue. I have read the FAQ and googled
> ferociously but haven't been able to find a solution, I hope that
> someone here can help me.
>
> I would like anybody to be able to point their domains at my nameservers
> and for anybody browsing to "thatdomain.com <http://thatdomain.com>" or "
> www.thatdomain.com <http://www.thatdomain.com>" or
> "*.thatdomain.com" or "thatdomain.com/* <http://thatdomain.com/*>" to see
> a default/catch-all PHP
> page.
>
> I am managed to create httpd.conf entries that show my PHP page when I
> enter one of my IP addresses into a browser but, so far, I can't get the
> same page to appear when I enter undefined domains into my browser.
>
> I would greatly appreciate it if someone could show me how to create a
> catchall file in bind that would catch all variations and subdomains of
> undefined domains and point them to my PHP page.
>
> Again, sorry if this is all very obvious stuff, I honestly haven't been
> able to get my head around it.
>
> Thanks,
>
> Donnacha
>
>
>
>



More information about the bind-users mailing list