Se sul vostro server DirectAdmin il vostro sito restituisce questo messaggio di errore:

To change this page, upload a new index.html to your private_html folder

significa che avete installato un certificato SSL, ma non lo avete configurato correttamente.

Precisamente: in DirectAdmin i contenuti protetti da https devono essere inseriti nella cartella private_html, e non nella public_html

Quindi:

  • i contenuti visibili sulla pagina http://www.nomedominio.it/ , non protetti da SSL, si trovano nella directory public_html
  • i contenuti visibili sulla pagina https://www.nomedominio.it, protetti da SSL, si trovano nella directory private_html

Si può decidere di mantenerli separati (e quindi offrire contenuti potenzialmente differenti tra accesso https ed http) oppure (ed è la situazione più comune) reindirizzare l'utente sui medesimi contenuti.

In questo ultimo caso, da DirectAdmin:

  • selezionare "Domain Setup"
  • selezionare il dominio
  • selezionare "Use a symbolic link from private_html to public_html - allows for same data in http and https"
  • fare click su "Save"

 

  • DirectAdmin, DV SSL
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

 What is the difference between SHA-1 and SHA-2 ?

SHA stands for Signature Hashing Algorithm;  It's a mathematical hash that proves the...

 What is an intermediate certificate and how to get it?

An intermediate certificate is a file needed by the web browser to identify the C.A. who issued...

 How can I install my SSL certificate on more than one server?

Many SSL certificate licences allow to install the same certificate on an unlimited number of...

 How To Fix The Warning : "Site Contains Secure & Non-Secure Items"

A SSL certificate provides cover for all your website files and folders, which are included in...

 I have accidentally deleted my "private key": what can I do now?

First check your backups and see if you can re-install the "private key". If you don't know how...