当我们使用https://而没有www时,ERR_CONNECTION_REFUSED [英] ERR_CONNECTION_REFUSED when we use https:// without www
本文介绍了当我们使用https://而没有www时,ERR_CONNECTION_REFUSED的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设 https://www.domain.com
是我的网站网址
当我从
$设置重定向时b $ b
http://domain.com
或
http://www.domain.com
到
https://www.domain.com
它工作正常
但是当我用 https打开网站时:// 并且没有 www 然后它给出了
ERR_CONNECTION_REFUSED错误。
任何回复将是高度适用的。
解决方案
这里有什么好极了?您对http://的重定向与https://无关;您可以将所有HTTPS页面视为一个单独的独立Web站点。对于重定向和设置的其他方面,请在HTTP服务器上的文档,托管软件或询问您的托管服务提供商。
-SA
Suppose, https://www.domain.com
is my website URL
When I have set redirection from
http://domain.com
or
http://www.domain.com
to
https://www.domain.com
it is working perfect
but when i am opening website with https:// and without www then it is giving
ERR_CONNECTION_REFUSED error.
Any response will be highly appriciable.
解决方案
And what's so wonderful here? Your redirection of http:// has nothing to do with https://; you can consider all HTTPS pages as a separate independent Web site. For redirection and other aspects of setup, address to the documentation on your HTTP server, hosting software or ask your hosting provider.
—SA
这篇关于当我们使用https://而没有www时,ERR_CONNECTION_REFUSED的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文