主机文件条目返回404找不到
过去,当我迁移一个网站时,我设置了一个带有域的主机,更新带有域和新IP地址的主机文件,然后开始迁移资产。我的问题是,现在尝试此操作时,我将获得无效的SSL证书,然后继续访问404页。
自从我上次迁移以来,过去一年左右发生了什么变化?如果由于浏览器/等的安全性更新而不再起作用,这些天不再工作的任何建议?
编辑: 我正在为新站点位置使用共享主机(主机)(主机),并且除了指向DNS外,还设置了所有设置。而是将我的域名指向新的共享主机,而是更新了主机文件。在将DNS从实时站点切换到主机上的DN之前,我将进行大量修改。
In the past when I migrated a site I setup a host with my domain, update my hosts file with the domain and new IP address and start migrating assets. My issue is that now when I try this I get an invalid SSL certificate and when continuing go to a 404 page.
What has changed over the past year or so since my last migration? and any advice on setting up a staging environment these days if this no longer works due to updates to security in browsers/etc?
EDIT:
I am using a shared host (Hostgator) for the new sites location and have everything setup besides pointing DNS. Instead of pointing my domain to the new shared host I updated my Hosts file. I am going to do a lot of modification before switching DNS from the live site to the one on Hostgator.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论