I want to create my website on www.example.com but when I try to add a web domain like this it creates a domain for example.com. and I want to add CNAME for my root domain to www. is it possible?
Hello @techindia535,
It isn’t possible… well, it is possible but you must modify function format_domain
in $HESTIA/func/main.sh
Why you don’t create the domain example.com
, add the alias www.example.com
and redirect all traffic to www.example.com
?
Cheers,
sahsanu
hello @sahsanu
I tried to do the same thing but my website generated the error & i want to tell you that my website is in Cloudflare.
Sorry, I don’t use Cloudflare so I can’t help here.
Maybe other community buddy uses Cloudflare and can show you how to create the right conf in Cloudflare for your needs but maybe, that is a question to Cloudflares’ community… https://community.cloudflare.com/
Hello, the redirection error is typically caused by your SSL/TLS mode on Cloudflare.
If you generated an SSL certificate via Hestia, make sure the mode for your domain is set to either Full or Full (strict).
You can troubleshoot further here if the above doesn’t work:
Please don’t make changes to hestia source …
Just set the redirect in the settings and it is working as it should be ……
Flexible is a terrible feature from Cloudflare and should be removed imo….