I am new to the web mastering stuff so please bear with me. My problem is that I have a domain example.com. If I go directly to it I get an invalid url error, however www.example.com works just great. Here is the error message
Invalid URL The requested URL "[no URL]", is invalid. Reference #9.b20fdd58.1490883354.a0914c3
We're using GoDaddy for domain, cloudflare for dns and hubspot for hosting some parts of our website.
So in GoDaddy I have my example.com. It has nothing set on it except the nameservers for the cloudflare. In cloudflare I have set a cname of example.com to be an alias of www.example.com Here are some server congfigs that probably might be relevant. There is this thing called cname flattening that happens. Also interestingly enough if I go to the hubspot url where my www.example.com is redirected it gives back the same error. And in hubspot I have my www.example.com to be primary for content tools and then all the hubspot urls are redirecting to www.example.com.
Please help me and thank you all very much!