hello guys, I am planning to migrate a web store ...
# suitecommerce
s
hello guys, I am planning to migrate a web store to SC. I am looking at the article Add NetSuite CNAME to a Godaddy Hosted Domain Published 06/28/2016 11:15 AM  |   Updated 11/11/2021 10:48 PM  |   Answer Id: 51113 It says there that I need to set up the cname in www. If I type just the root url without the www in the address bar, would it work?
s
It is strongly recommended you use some form of subdomain, whether that is 'www', 'store', a language code or something else. Using the bare domain can cause problems with emails, caching and DNS records. If you want visitors to be able to visit example.com (without a sub-domain) then it would be easier to simply set that up as a redirect to your store's actual domain.
d
If you just set up a CNAME for www, then typing the root address into a browser won't work. With a lot of providers, there needs to be an A record for this to happen - but A records have to point at an IP. As IPs can't be predicted, this causes an issue with Netsuite. There used to be a Suiteanswers article suggesting a workaround, but it seems to have disappeared a few months back. We got around the issue by using Cloudflare for DNS and setting up a redirect rule.
p
Cloudflare + redirect rule is my favorite approach. Keeps netsuite clean (NS does not know about the root domain at all) and cloudflare supports http, https, and mantaining the path
k
Cloudflare’s CNAME flattening works well for root domains. We have used GoDaddy’s URL forwarding, but it didn’t support SSL at the time we set it up. It might now. Dreamhost offers a better URL forwarding services that works well with root domains. It supports SSL and path wildcards.
c
I set up a URL forward with GoDaddy last week on a SuiteCommerce (not SCA) store and it's working well.
k
@Chris, were you able to configure SSL with it?
c
The SSL is working fine. I honestly thought it would be more trouble.
I can hit the root http (not https) domain and it redirects to https://www.xyz.com all on it's own.
This isn't an SCA site tho...
k
I understand. I am familiar with GoDaddy URL redirect feature. When I set it up for a client, you couldn’t install an SSL certificate in GoDaddy and use it with the root domain, i.e., https://rootdomain.com. It only supported (http). Dreamhost offers a similar service and they do support using an SSL certificate with the root domain. I have recommended clients switch to Dreamhost from GoDaddy because of this feature.
m
GoDaddy still has that issue as of a couple weeks ago. We're using Cloudflare for redirects on some non-SCA sites, but it's good to know about Dreamhost because we're looking to move off of GoDaddy. Thanks.