Saturday, December 07, 2019

Moving Joomla Site To New Domain And SSL

Started to rebuild a customers site in Joomla but didn’t want to disturb the existing site we purchased a new CPanel Hosting package which gave us PHP 7. I got the site finished and approved but when I went to make the switch of the domain name to the desired name I noticed a dedicated IP in thehosting package. There were a lot of specific subdomains and uses for the such as a “Mail.mydomain.com”. This turned out to be for a SSL cert that was installed. Here are the steps it took and some of the pitfalls I ran into.

The SSL Certificate needed to be removed. In the “My Products” section of the Godaddy hosting scroll down to the SSL section. Click on “Mange”, but if you have more than one SSL make sure you end up in the correct one. I was ending up in the wrong one to fix it I would click on “All” in the upper left of the screen of the SSL Certificate’s detail page. I could then select the desired certificate and it allow me to “Rekey & Manage”.

Since the two hosting packages and domains were all with Godaddy it was easy to disassociate the SSL form the domain. I clicked on “Change the site that your certificate protects” and added a made up subdomain of “old.mydomain.com”, hit “save”, and then “Submit all Saved Changes”. I repeated this process to add it back to the new hosting package after the desired domain name was attached to the new hosting package with a sweet new site at the end of it.

Clicking the profile siloquette icon in the upper-right of the Godaddy dashboard and go to “My Products”. Select the old hosting to detach the domain name from the old hosting. This was an old package that listed “Hosted Domains” in the left-side menu. I clicked on that name ( I didn’t think was a hyperlink), and it brought me to a list of of a couple of domain names. I needed to wait almost a day for the SSL certificate to be disassociated with the domain. This was unusually long time to wait. It normally takes a few hours. I then clicked the checkbox next to the desired domain name and click “Change Primary”. I gave it a made up name of “old.mydomain.com” and clicked okay. Now to move the desired domain name to the new hosting package.

In Godaddy’s admin panel it seems fastest to use the icon the upper right and go to “my products” and this time select the new hosting package. In this new hosting page you will click on the “Change” button in the Account panel and select the desired domain. The last thing was go back the SSL certificate and change it to protect the desired domain again.

Overall an easy process; however, I run a WordPress blog as a subdomain and of course use perma-stinks. Once the main site was moved over the wordpress site broken in a couple of ways, and it was difficult to log into the admin panel. This was a quick fix by going into the database table “wp-options” and change the “siteurl” and the “home” to the new domain. I had a couple of other Joomla site as subdomains that came back up fine.

I hope this helps someone else out there…

Joomla Kickstart Restore – Blank White Page

Moved site from Localhost to Godaddy hosting and after I restored the site I got a completely blank screen in both the front end and backend. The source was completely blank.

I found this on OSTraining.com that let me see the errors by editing the “configuration.php” file in the CPanel. I changed “public $error_reporting = ‘development’;”.

https://www.ostraining.com/blog/joomla/white-screen-of-death/

I was now getting an error.

Error:
/home/myaccount/public_html/plugins/system/chronoengine_gcore2/chronoengine_gcore2.php on line 65

I recently upgraded the Chronoforms from version 5 to 6 while keeping 5 around. Their website said this was okay to do.

The site was working fine and this error seem to happen because of the restore. The restore was done through Akeeba Kickstart.

https://www.akeebabackup.com/support/akeeba-backup-3x/Ticket/27368-fatal-error-when-restoring-website.html

The end results was file permissions. My hosting account wouldn’t let me select a different PHP version. I had to contact tech support and they were surprised and had to go up to teir 3 to get it resolved. They determined it my CPanel account that was having permission issues to allow me to change the PHP version.

Once that was changed I was still unable to access the sites. I could put a HTML file there but couldn’t run any PHP. The folder permissions on the public folder needed to be reset to “750”. My sub-domain directories needed to be set to “755”. Godaddy said if I right-click on the folder I could change the permissions myself.

 

I hope this helps someone else out there….

 

Godaddy CPanel PHP 2m upload_max_filesize – How To Change.

My Joomla install told me the upload_max_filesize is 2M. I changed this in my PHP5.ini file on the server, but this had no effect. I learned later that this takes time to become in effect.

A faster way is to “PHP Selector”. You will see “Switch to PHP Options” in the upper-right. Click on this.  Click on the number next to “upload_max_filesize” and change it to what you want. Godaddy said to keep it under a Gig or you will have issues.

I hope this helps someone else out there…