private_html directory in SSL

yorambaron

New member
Joined
Dec 30, 2010
Messages
6
I installed an SSL on my site and when I try to enter to the site with https, I receive the following message:
To change this page, upload a new index.html to your private_html folder

I have no problem to enter to the site with http.

I noticed that a similar case was discussed in the thread below:
http://www.directadmin.com/forum/showthread.php?t=29793&highlight=private_html

I created a symbolic link from the public_html to the private_html directory.

See below the output of ls -l:

lrwxrwxrwx 1 root root 35 Jan 3 10:38 private_html -> ./domains/syrolight.com/public_html
lrwxrwxrwx 1 root root 35 Jan 3 10:37 public_html -> ./domains/syrolight.com/public_html

What did I do wrong? Your help will be appreciated.

Regards,
Yoram
 
User Level Login in Directadmin -> Domain Administration -> Click on desired domain -> Check "Use a symbolic link from private_html to public_html - allows for same data in http and https" -> Save
 
Reply

Thanks for your reply.
Can this be done after the domain was already been created?

Should I copy the public_html to private_html, remove the public_html and then run the procedure that you suggested?
 
Hello,

Is this a bug or something which is not fixed yet?
Today I am facing this exact issue in one of my client account.
 
DrectAdmin allows to have separate content for HTTP and HTTPS.

For new domains you might set:

Code:
/usr/local/directadmin/directadmin set default_private_html_link 1 restart

existing domains should be modified in DirectAdmin at user level.

related:

 
Hi,..

We are all ready to active SSL. Once we put https://interdeals.com.my. How to change this page, upload a new index.html to your private_html folder
 

Attachments

  • web.jpg
    web.jpg
    14 KB · Views: 110
Try checking the index.html in /home/admin/domains/default or /home/reseller/domains/default directory.
You can change the index.html in there.
 
Hi , ...
In the new version, you have to select your domain, then in the bar in front of modify, select the option • private_html setup and select the second one :)
 
I totally don't understand what you're trying to say or explain.
Next to that... this was not the question asked. ;)
 
Back
Top