“no such host” mesage while site is deployed on moovapp.com domain

孤人 提交于 2019-12-12 01:56:31

问题


I have done a sample project based on blog.moovdemos.com to test the moovweb solution.

After testing it on on local system I deployed the project on moovweb cloud. I have learnt that one need to own the domain to be able to access it from internet. However, as per documentation, it is still available within moovapp.com domain.

While I am trying to access my site through moovapp.com domain I get moovweb warning page as below

Warning: the webpage you are attempting to access is a Moovweb Remixed™ version of mshruthijanardhan14047.blog.moovdemos.com. Should you choose to continue, Moovweb is not responsible for the contents of this webpage.
[Agree and continue] [Decline]

However, on chossing [Agree and continue] I get following message instead of site page

Failed to establish a connection with upstream (dial tcp: lookup [muser1234].blog.moovdemos.com: no such host)

please help me what is wrong here?


回答1:


It looks like you have a misconfigured config.json file in your project.

On the right-hand side of the first "host_map" value, you will need to put the upstream domain 'blog.moovdemos.com'. You currently have it set to [muser1234].blog.moovdemos.com. This domain does not exist; that is why you are getting the "dial tcp: lookup ... no such host" error.

The correct setting should look like:

"host_map": [
    "$.blog.moovdemos.com => blog.moovdemos.com"
]

Hope that helps.



来源:https://stackoverflow.com/questions/25119432/no-such-host-mesage-while-site-is-deployed-on-moovapp-com-domain

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