Redirect root domain to ww

Asked 2 years ago, Updated 2 years ago, 156 views

Registered at freenom.com on servers operating using Heroku.You are about to connect a tk domain.

Heroku uses CNAME to connect domains, so it doesn't seem to connect directly to the root domain. So I want to make sure that at least if I connect to the root domain, it will be automatically redirected to the address with www, is there a way?

domain heroku

2022-09-22 18:31

1 Answers

It can be solved using the https://asia.cloudns.net/ service.

Please connect to the www subdomain by cname record in cloudns, and connect the root domain by alias to the www subdomain.

(Please add both the www subdomain and the root domain in Heroku, and set it to the nameserver of cloudns in the cleanom.)


2022-09-22 18:31

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.