Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Subdomain Not Found Redirect

Discussion in 'General Discussion' started by matsko, Apr 29, 2005.

  1. matsko

    matsko Member

    Apr 29, 2005
    Likes Received:
    Trophy Points:
    hello I am currently runnign a Cpanel Control Panel under a WHM and I need to have a system for subdomains that works like so...

    lets say I have 3 subdomains

    and they work fine, but what happens when you enter a subdomain that is not one of those three for example...

    then it would give you an error page. I would like instead having it display an error page to simply redirect to my own page... Also to have it take the url entered "" and attach it like so...

    lets say my error handling page is error.php

    now you see how it goes to the error page (since the subdomain doesn't exist) and then attaches the url into a querystring for the error page to use...

    how would you do this.

    If anything then how would you have it simply redirect to an error page?


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice