Sentora Support Forums
redirect all subdomain - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: redirect all subdomain (/showthread.php?tid=4342)



redirect all subdomain - wonchoe - 02-02-2018

How to redirect all subdomain to another domain or show some folder(without htaccess)

like anydomain.domain.com show you same like you go on domain.com


RE: redirect all subdomain - MrKaKisen - 02-10-2018

Do you mean specific subdomains routing to "domain.com" or just all subdomains (even if you haven't added them)?

If all subdomains, you would have to add a wildcard DNS record. I am uncertain if you can do that in Sentora. Are you using Sentora as DNS for your domain or are you using something else like CloudFlare? For CloudFlare, you would just have to create a new DNS record with the subdomain set to "*" (and then setup a redirect).