Jekyll + gh-pages + GoDaddy博客似乎无法在Mac上正确加载 [英] Jekyll + gh-pages + GoDaddy blog doesn't seem to load properly on Macs

查看:92
本文介绍了Jekyll + gh-pages + GoDaddy博客似乎无法在Mac上正确加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近使用Jekyll和Github Pages创建了一个博客,并从GoDaddy购买了自定义域名.虽然它在Windows笔记本电脑,手机和朋友的计算机上似乎都可以正常工作,但在大多数情况下,我尝试将其加载到MacBook Pro上时,它会转到以下页面之一:

I've recently created a blog using Jekyll and Github Pages and bought a custom domain from GoDaddy. While it seems to work fine on my windows laptop, my phone, and my friend's computers, most of the times that I try to load it on my MacBook Pro it goes to one of the following pages:

  • 带有广告的自定义GoDaddy页面.

  • Custom GoDaddy page with ads.

似乎是GoDaddy页面,其中显示以下消息:网站即将推出!请稍后再回来查看该网站是否可用."

What seems to be a GoDaddy page with message: "website coming soon! Please check back soon to see if the site is available."

Github页面消息:"404:找不到文件在此地址配置的站点不包含请求的文件.如果这是您的站点,请确保文件名大小写与URL匹配.对于根URL(如 http://example.com/),您必须提供index.html文件."

Github Pages message: "404: File not found The site configured at this address does not contain the requested file.If this is your site, make sure that the filename case matches the URL. For root URLs (like http://example.com/) you must provide an index.html file."

我还注意到,有时页面无法打开,并最终以/xxxx/重定向到url,例如 http://page.com/KQMRn/.

I also noticed that sometimes the page fails to open and redirects to the url with a /xxxx/ in the end like http://page.com/KQMRn/.

如果有帮助,页面为joelcponte.com,而GitHub存储库为GitHub.com/joelcponte/blog.

In case it helps, the page is joelcponte.com and the GitHub repository is GitHub.com/joelcponte/blog.

推荐答案

您的DNS配置似乎不正确:

Your DNS configuration seems to be wrong :

dig joelcponte.com

;; ANSWER SECTION:
joelcponte.com.     238 IN  A   184.168.221.38
joelcponte.com.     238 IN  A   192.30.252.153
joelcponte.com.     238 IN  A   192.30.252.154

您必须删除第一个DNS(184.168.221.38),它是GoDaddy IP.

You must remove the first DNS (184.168.221.38) which is a GoDaddy IP.

这篇关于Jekyll + gh-pages + GoDaddy博客似乎无法在Mac上正确加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆