PDA

View Full Version : Ssl & Whmcs



chagle
05-15-08, 06:26 AM
Hello all,

I have just got an SSL with my Hosting Co.

They have installed it so I know it's installed correctly :-)

But I have been told that files have to go into /private_html, whilst none https:// files go into /public_html

Does this mean I would have to move all my WHMCS files/folders etc. over to the /private_html?

I then have to go into WHMCS/Admin panel/general settings and add the URL to 'WHMCS SSL System URL'?

Bit confused how it works as this is my first experience with SSL.

Thank you.

BAJI26
05-15-08, 01:05 PM
I never heard of that, you just have to add the https url in whmcs acp.

chagle
05-15-08, 03:18 PM
I never heard of that, you just have to add the https url in whmcs acp.

I have tried this but doesn't seem to work.. But what you're saying is that, I shouldn't need to put anything into /private_html & leave in /public_html ?

The main site isn't SSL secure, but all I want is when the user goes to the client area etc in WHMCS, they then have an SSL connection. So you're just saying by inputting the https url in WHMCS ACP should do the trick?

Nick
05-15-08, 04:35 PM
Depends on your hosting setup, I've also not heard of a separate private_html for use with secure connections but it's easy to achieve.

Try simply copying your WHMCS install over to the private_html, leaving it in public_html as well.

chagle
05-15-08, 04:54 PM
The Control panel is DirectAdmin; Whether this works differently as a setup compared to CP I'm not sure?

I shall try copying WHMCS public_html > private_html.

Trouble is, if I make changes then it'll mean I'll have to do 2 updates for each directory.

I assume, usually you would simply put the https URL within WHMCS ACP and then job done?

bear
05-15-08, 05:43 PM
Plesk used to do something similar (and might still), where you had 2 directories, one for "normal" html (httpdocs) and the other for SSL (httpsdocs).

BenHarris
05-15-08, 06:03 PM
To solve this, you could just make a symlink from the private directory to the public directory?

Daniel
05-15-08, 06:13 PM
Plesk used to do something similar (and might still), where you had 2 directories, one for "normal" html (httpdocs) and the other for SSL (httpsdocs).

Indeed, they still do. However there is an option from within the control panel that allows you to keep SSL content in the httpdocs folder too.

Is there something similar in DA?

chagle
05-15-08, 06:44 PM
Hi there.

I found this in DA Control Panel (See attachment). I assume it's this that will fix my issue?

It does go onto to say when selected (not been brave enough yet)
"using symbolic link will delete the private_html directory and all files in it - Do you wish to continue?" ..

But I guess this looks promising.

lostinspace
05-15-08, 08:21 PM
Yep that will do it and should nullify the need to place separate files in the secure directory.

chagle
05-15-08, 09:45 PM
All done! Much better actually because I can then secure any webpage without having to muck about with having certain pages in the /private_html directory.

(Took the option as seen in the above screenshot from earlier post)