Agggghh, my head hurts.
Ive been building a webshop for my work for a while now and the final step i need to take with it is the SSL. However im having a right nightmare with it.
I wanted to have the secured server at the domain http://secure.martinbrownpaints.net
And the normal catalouge is at
http://martinbrownpaints.net/shop
A few weeks ago i got a trial comodo cert and went to install through cpanel. I made a sub domain for the secured side - secure.martinbrownpaints.net and then sorted the dns out and installed the cert through cpanel. However, it didnt work. I had a look through httpd.conf and cpanel hadent written the relevant data to it for the ssl to work. So i did a little work around creating a new virtual host for it. Bear in mind the whole site was running of its own ip addy at the time. This cured the problem. I set the configure.php files to have the https at https://martinbrownpaints.net/~mbpaints and it worked. I was however concerned about doing the patch in httpd.conf as i assumed cpanel would do this for me.
I contacted my data center and they told me that this was a bad idea as i may break my apache config. And that the ip addresses had conflicts. I was told to delete the sub domain and then create a new acount for the sub domain through whm and then set that to the spare ip and have the standard site running off the other ip. This seams strange to me, but ive gone ahead and done all these changes.
Ive bought a cert and installed it on the secure.martinbrownpaints.net acount and then put the catalouge in the root dir. I then changed the configure.php files to https://martinbrownpaints.net/~mbsecure (This is the new username)
And now it doesnt work at all. See what i mean and click login - www.martinbrownpaints.net/shop
I really do not have a clue about what is wrong with the config. Any help would be really appricieated!!!!!



