Page 1 of 1

CNAME(alias) for hostname

Posted: Tue Jul 30, 2019 2:58 am
by criky
Hi. :)
I set up my site with my domain name, but CNAME record configuration of my domain registrar does not seem to work with my UBOSbox.
That is to say, my site seems only accessible with the exact host name which I used when I created my site on the box.

For example if I have made my host name as "", then it is only accessible by the exact name of "", even though I have CNAME record(alias) of "www" point to "", which means "" can not be accessible by the public internet and only shows the below screen.

I am just trying to install the app "redirect" but I have no idea how to do that with this app for this matter.

My objective :
creating my site with host name of "", when others try to reach my site with the address "" then it redirects automatically to the "".
(my domain registrar CNAME configuration works well for their shared hosting service, if registrar has arguably applied this config correctly, then can UBOS handle the rest of it for redirecting? but normal way of modifying “.htaccess” appears to be impossible)

Re: CNAME(alias) for hostname

Posted: Tue Jul 30, 2019 8:30 am
by criky
Hey, I resolved this matter.
The key is to create independent "www" site with redirect app which points to the non-"www" site(my main site).
It works well with the registrar's configuration of CNAME(alias) record.
Please note this way is quite different from the conventional one which describes only the modification of the ".htaccess" file, but that measure is not allowed with the default UBOS permission. I found UBOS app is much easier than any other way.

I'll just keep this post for anyone who wants to have help in the future. :)