Setup up name server that redirects all domains to a page on web server

Discussion in 'Server Operation' started by Colum, Aug 8, 2008.

  1. Colum

    Colum New Member

    I want to setup ns.domain.com so if someone points blah.com to the name server it will redirect all requests to the web server running on the box. Is their a way I can do this?

    Thanks!

    BTW: im using CentOS 5
     
  2. falko

    falko Super Moderator Howtoforge Staff

    All you need is a normal nameserver setup. You can do this with BIND, MyDNS, djbdns, etc.
     
  3. Colum

    Colum New Member

    So I just install, say BIND, and it will just point to the web server?
     
  4. Colum

    Colum New Member

    Could anyone point me at a good guide for doing it?
     
  5. falko

    falko Super Moderator Howtoforge Staff

Share This Page