Redirect unknow subdomain to proper error page

My website URL is: vabhishek.com

If I am opening any unknow subdomain I am landing on ad page instead of any error page.

For example: If I open “adsfadsf.vabhishek.com” an ad page is shown.

How can I redirect it properly to any 404 or other relevant error page.

Could you tell me how to redirect all the unknown subdomains to an appropriate error page?

Our nameservers are set up so that any unknown (sub)domain is redirected to a parking page. It’s not possible to change this for your own (sub)domains, other than assigning the subdomains to your hosting account.

The only way to remove these parking pages for your domain name is to move it to nameservers where you get full DNS controls. Premium hosting comes with full DNS management. But if you’re able to manage your own DNS records, you could also move your own domain to separate nameservers.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.