domain with www prefix not working on firebase hosting

孤人 提交于 2019-12-25 01:48:44

问题


i deployed vuejs app on firebase hosting with custom domain from godaddy connected to it with google provided A records. when i enter mywebsite.com it works . but when i enter www.mywebsite.com it doesn't redirect and shows error certificate . i want the www redirect to a non-www domain(example.com) how to redirect ?

how to solve this please any help?


回答1:


You need to add a CNAME record for www as canonical name for it to work.



来源:https://stackoverflow.com/questions/53429442/domain-with-www-prefix-not-working-on-firebase-hosting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!