开发者

Where to put my HTTPS files in Cpanel

开发者 https://www.devze.com 2023-03-26 06:02 出处:网络
I have read everything I can find through google, but nobody seem to give an understandable answer. I have a cpanel account, with shared hosting. I am developing a php web application that would be r

I have read everything I can find through google, but nobody seem to give an understandable answer.

I have a cpanel account, with shared hosting. I am developing a php web application that would be requiring SSL, I have setup my own private key from the cpanel. But I have not been able to find out where to upload files I want to access through https. I am able to see the following when i go to my https right now

Index of /

400.shtml
401.shtml
403.shtml
404.shtml
500.shtml
blog/
cp_errordocument.shtml
ea3_apache_build_htdocs/
moving.page/
suspended.

Please can someone kindly give me a step by step guide to wha开发者_StackOverflow中文版t I need to do.

Thanks very much.


I think this question belongs more to serverfault than to stackoverflow.

  • Use this guide to install the Certificate
  • You may have to upgrade your account so you have your own IP (otherwise SSL doesn't work), contact your provider for more information
  • The DocumentRoot for your HTTPS files is the same as for your HTTP files.


HTTPS and HTTP is just protocols about connection. It's not affects the files structure.

https://example.com/file.php

will call same file, as

http://example.com/file.php

0

精彩评论

暂无评论...
验证码 换一张
取 消