A pop-up window will appear where you can customize the permissions for your website, file, or folder. If you are changing the permissions of a folder and you want to apply them to the subfolders and files, select Recursive. Once ready, click Confirm.
You say you’re running on the same domain as your website, so then create a subdomain (crm.mydomain.tld), and set the full path to your subdomain’s base folder plus /crm/public, for example, /home/username/public_html/domains/crm.mysite.tld/crm/public to be the DocumentRoot - so that you’re not using the website domain mysite.com which is in use by your website www.mysite.tld.
Then, browse to your subdomain, and it will show you the web installer.
I want the url for suitecrm to be www.mysite.tld/crm, not crm.mysite.tld.
There is nothing that explains how to launch the pre-check page. I thought the UI installer would be to launch a script at www.mysite.tld/crm from my web browser. There is no index.html or index.php in this location.
Your hoster’s tech support should help you to make it so your Apache web server will have www.mysite.tld/crm to be served from www.mysite.tld/crm/public or /home/username/public_html/crm/public.
These steps are close to, yet not exactly, what you need.
How to change my document root folder using an .htaccess file?
By default, your main website is loaded from the public_html folder of your account. The public_html directory is also called web root folder or document root folder. If you would like to keep your site’s files in a subfolder of the public_html, and do not want the subfolder to appear as a part of the URL to your website, you can mask the subfolder from the URL by placing the following directives in the .htaccess file inside the public_html folder:
In the above lines you should replace the following:
domain-name.tld – Type your own domain name folder – Type the name of the subfolder which has the test/development website
If there is no .htaccess file in the public_html folder you can create one using Site Tools > Site >File Manager. Then, type your domain name in a browser and you should see the website which is in your subfolder.
Thank you. I just found www.mysite.tld/crm/public. I think I understand it now. I can access www.mysite.tld/crm/public and see the pre-check page. If I’m ok using the url www.mysite.tld/crm/public will this still work without doing the document root setup?
Setting the document root essentially redirects www.mysite.tld/crm to www.mysite.tld/crm/public.
Last question… what is your recommendation? Creating a separate host like crm.mysite.tld and use document root so that www.mysite.tld/crm is redirected to crm.mysite.tld/public?
It’s late but I’ll do the recommended document root setup tomorrow and start the install.
I’d do the separate subdomain crm.mysite.tld, it’s simpler and safer having your crm app run in its own subdomain and in a different directory, than your website app.
I hope you got https certificate for your https://crm.mysite.tld.
You need to download and place that certificate on your web server.
Once you have it in server then do Apache configuration and set server root and domain name.
You could find lots of tutorial online about it.
It’s not clear what .htaccess should be for a default install… even if I keep the url as https://crm.mysite.tld
Suite CRM is installed in /public_html/. As I understand the requirement, I need to make /public_html/public the document root. Not sure how this is done with .htaccess.
I have SuiteCRM installed and working on Siteground. I find Siteground to be the best hosting provider out there for performance, support AND price (shared hosting).
I think you have misunderstood the setup for Siteground.
If your FQDN is mydomain.com then the path in Siteground to your default landing page is
/home/customer/mydomain.com/public_html . customer is NOT something you change. Siteground actually converts that internally to point to your site.
To install SuiteCRM (by itself) you delete the directory public_html at /home/customer/mydomain.com/public_html , put your SuiteCRM zip file into /home/customer/mydomain.com/ , unzip the SuiteCRM zip file and change the name of the unzipped directory to public_html
Set the file permissions using chmod (chown is automatically set for all files by Siteground) to the settings shown in the SuiteCRM guide
Create the database and database user for SuiteCRM using Siteground’s tools set.
Run the SuiteCRM installer per instructions then re-set the permissions and Repair and Rebuild.
If you wanted to not have the site available at mydomain.com but want instead to require use of mydomain.com/subpage , create a directory structure additional subdirectory, then put a subdirectory under public_html as /home/customer/mydomain.com/public_html/subpage and adjust the above to suit.
Having Wordpress AND SuiteCRM in the same public_html directory is not a good idea though. I assume you want Wordpress to be publicly available and normally you do NOT want SuiteCRM publicly avaialble. You do NOT need a Wordpress site installed to have SuiteCRM installed. I setup SuiteCRM in its own public_html using either .htaccess authentication or using Siteground’s “Protected Directory” setup and only users with that second-level access can get to SuiteCRM. Your call.