admin管理员组文章数量:1130349
Was playing around with settings and changed HTTP to HTTPs. I'm now getting a message that says "Index of /". Any idea how to change it back to HTTP or login to the website?
Was playing around with settings and changed HTTP to HTTPs. I'm now getting a message that says "Index of /". Any idea how to change it back to HTTP or login to the website?
Share Improve this question asked Dec 17, 2018 at 8:42 DavidDavid 211 bronze badge 2- The idea is to revert settings. It's impossible to guess what have you done to face the problem. – Max Yudin Commented Dec 17, 2018 at 8:50
- @David Does your hosting uses a control panel, like for example DirectAdmin or cPanel? Check my answer, sometimes it's just a setting. – Remzi Cavdar Commented Dec 17, 2018 at 10:04
1 Answer
Reset to default 1By default web servers / your hosting serves files from HTTPS from a separate folder. This means that there are actually two directories on the server for hosting your website files:
For example
- public_html – the standard "public" folder for HTTP requests
- private_html – the standard "private" folder for HTTPS requests (e.g. secure content)
I don't know if your web hosting uses a control panel like DirectAdmin or cPanel. Usually, you need to configure HTTPS to use the same directory for HTTP requests.
DirectAdmin:
Step 1: Login to DirectAdmin and Choose the "Domain Setup" Link
On the next page select the domain that you would like to make these changes for.Step 2: Choose the Symbolic Link Option
On the following page that displays the directory options, choose the second option at the bottom to Use a Symbolic Link for data in both directories, then click Save:After making this change public_html will both serve HTTP and HTTPS and you only need to upload your files to the public_html directory.
See for more info: https://my.fastwebengine/knowledgebase/131/How-do-I-disable-the-privatehtml-directory-in-order-to-only-use-the-publichtml-directory.html
Was playing around with settings and changed HTTP to HTTPs. I'm now getting a message that says "Index of /". Any idea how to change it back to HTTP or login to the website?
Was playing around with settings and changed HTTP to HTTPs. I'm now getting a message that says "Index of /". Any idea how to change it back to HTTP or login to the website?
Share Improve this question asked Dec 17, 2018 at 8:42 DavidDavid 211 bronze badge 2- The idea is to revert settings. It's impossible to guess what have you done to face the problem. – Max Yudin Commented Dec 17, 2018 at 8:50
- @David Does your hosting uses a control panel, like for example DirectAdmin or cPanel? Check my answer, sometimes it's just a setting. – Remzi Cavdar Commented Dec 17, 2018 at 10:04
1 Answer
Reset to default 1By default web servers / your hosting serves files from HTTPS from a separate folder. This means that there are actually two directories on the server for hosting your website files:
For example
- public_html – the standard "public" folder for HTTP requests
- private_html – the standard "private" folder for HTTPS requests (e.g. secure content)
I don't know if your web hosting uses a control panel like DirectAdmin or cPanel. Usually, you need to configure HTTPS to use the same directory for HTTP requests.
DirectAdmin:
Step 1: Login to DirectAdmin and Choose the "Domain Setup" Link
On the next page select the domain that you would like to make these changes for.Step 2: Choose the Symbolic Link Option
On the following page that displays the directory options, choose the second option at the bottom to Use a Symbolic Link for data in both directories, then click Save:After making this change public_html will both serve HTTP and HTTPS and you only need to upload your files to the public_html directory.
See for more info: https://my.fastwebengine/knowledgebase/131/How-do-I-disable-the-privatehtml-directory-in-order-to-only-use-the-publichtml-directory.html
本文标签: redirectCant Access WebsiteChanged HTTP to HTTPs
版权声明:本文标题:redirect - Cant Access Website - Changed HTTP to HTTPs 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749091933a2314654.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论