Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
232 views
in Technique[技术] by (71.8m points)

moovweb - "no such host" mesage while site is deployed on moovapp.com domain

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...