I am building web app that is hosted on Backendless servers. So I need to add custom domain for this app.
I fallowed instructions and add CNAME record in DNS for domains WWW part. But I get some complains from client that he have some problems to open app page.
So I tray figuring this out and result is that client is writing just root domain in browser (example.com, domain without WWW part) so he get to page that can’t be found.
My name server does not allow add CNAME record to DNS and when I did quick Google search I found that CNAME record can’t be added to root domain (ok technically there is no restrictions, but there is DNS rules that don’t allow this, so name server don’t allow this).
I found that is possible use *.example.com that allow add CNAME records to anything goes before dot, but really don’t know will this cower root domain without anything before domain name.
So I added CNAME record that points to Backendless server to *.example.com just to try will it work, but when I try add custom domain in Beckendless console it shows error – when I add just root domain example.com I get error that there is no correct CNAME record, when I add *.example.com I get error that domain name is invalid.
I also try to add CNAME record to *.example.com that points to www.example.com, there is feeling that this almost worked – on my machine it opened page that get JSON as response with error that app (example.com) is not found, so I think it get to Beckendless server (but not quit sure, because it was on my machine didn’t get to try on fresh machine that never opened page).
Try adding A record to root domain that points to Beckendless server IP address – the usual way (point A record to server, and the rest is configured on server, like which is main domain with or without WWW part, and server does all redirection).
How can I add root domain to Beckendless console? Or redirect root domain to WWW domain using DNS. This is really important no one really write WWW in front of domain, when entering address in browser.
AppID: D4CCAAD3-B12C-BA88-FF35-018BE6FE1500