I host my main website at a hosting company and want to install SuiteCRM 8.8 under a subdomain like crm.mycompany.com. The issue arises when I have to setup the DocumentRoot to /var/www/html/public but my hosting provider doesn’t allow that change because I do not have access to the apache2 config file.
Is there any other way of installing the software without having to setup the DocumentRoot?
Isn’t this possible when you configure the subdomain crm.mycompany.com? I mean, possible to specify the directory via the web hosting UI.
Sometimes the web hostings won’t allow an option easily, but will do it for you upon request via email support. Especially if it’s an easy, one-time fix such as this one.
If not, then reconsider your web hosting platform. I don’t advise restrictive shared hostings for SuiteCRM at all. It is often needed to check logs, run commands on files on disk, use SSH access. I would never run SuiteCRM without console access.
SuiteCRM is a peculiar app, very large, currently a mix of an old legacy app (v7) and a new app (v8), and it is a highly configurable system because it is an app that writes itself - and this requires special permissions.
Looking at the management panel on my hosting provider now, I see that I can create a specific directory under /public_html/ folder for my new crm.company.com folder. Should I point it to /public_html/SuiteCRM/public or /public_html/public folder? My apologies if it’s a simple question but I want to do it right
I was able to create a subdomain and FTP the SuiteCRM files to the correct folder on my webhost.
Created a new MySQL database.
Went to browser, and ran the installer.php, all checks came back OK, clicked to proceed. Entered the required information but it says can’t connect to DB.
If you’re on Cpanel hosting, you can use Installatron (installed on your cpanel) or Softalicious (installed on your cpanel) depending on what your hosting provider setup. You can install SuiteCRM in one click and you don’t have to mess with the SuiteCRM installer or DB creation or anything. If you are unsure, check your hosting provider’s documentation.
I tried a very simple text based password but I still had to have an upper case letter and a number so I did, and refreshed the install.php page entered all information again with the new text based password but still no success.
Further inquiring from my hosting provider, this is what I got back:
Since SuiteCRM 8.8 requires NodeJS and Composer for installation, it cannot be installed on shared hosting plans like yours, as these features are not supported. To use SuiteCRM 8.8, you would need to upgrade to a VPS plan where NodeJS and Composer can be configured.
Honestly, if you’re struggling with this, managing your own VPS is going to be a real challenge. Its incredibly more complex than shared hosting. Unless you have an extremely expensive plan where the hosting povider provides “VPS Administrator Services” managing and setting up the VPS is going to be on you.
You’re also going to be responsible for securing the VPS and setting up the email ,etc.
Just make sure you know what you are getting into.
Noted, but unfortunately I am not having any luck passing the Installation phase. Tried pretty much everything but nothing worked, kinda stuck at this moment with no light at the end of the tunnel.
My web root is set to /public_html/crm/private and I did not use any other specific stacks whatsoever. On the first installation screen I get all components checked with no errors or warnings.
I copied the installation package to the crm folder and ran the installation, it comes fine and the page address is displayed as crm.mywebsite. com/#/install in the address bar.
Also on a side note my hosting company uses LiteSpeed we server.
Is LiteSpeed offered on shared hosting plans?
Yes, LiteSpeed hosting is a shared hosting solution that provides users with cost-effective and reliable performance. They provide users with unlimited bandwidth and access to advanced tools such as Softaculous, SSH, staging, and managed WordPress hosting CLI. It also works well with other shared hosting services.
Now, I am wondering that what is blocking it.
In order to create DB, you need to have SuiteCRM Database User - ALL PRIVILEGES set in it.
I created a database right after I create a subdomain, I provide my DB Name as crm and it has a provider defined prefix eg. u12345678_crm and an Admin account as u12345678_Administrator with a password. I click create and it does create my DB, I can do phpMyadmin into it and it comes up empty but fine.
Then I FTP the installation.zip file, expand it into crm folder and then go to browser and run the install.php and it shows me that all the requirements are met then I click Proceed and it takes me to the Database setup screen where I input the required data, for the DB Server name I tried localhost and the server IP address but none worked.
Please let me know if I am doing anything wrong that is causing me to face the DB connection failed error.