How can I redirect subdomains to homepage?

If you’d like to redirect a subdomain back to the homepage (like blog.domain.com to domain.com), you will have to use a third-party DNS provider like Cloudflare (free plan is enough).

Setting up subdomain redirect with Cloudflare

First setup CNAME record to point to root domain:

Your primary domain and subdomain should both have Cloudflare enabled (this will disable one-click login from the EBN dashboard).

Then, go to Page Rules and add a new rule:

Click Save and Deploy, and you’re done. Allow a few minutes for the redirect to start working.

Still need help? Contact Us Contact Us