SuiteCRM 8.5 new install root landing page is "Apache2 Default Page"

Just completed the install of v8.5, but when I go to the url http://suitecrm.mycompany.com I get the"Apache Default Page". If I open http://suitecrm.mycompany.com/public I am able to login to SuiteCRM.

How do I fix this so the root is /var/www/html/public?

I created a /etc/apache2/sites-available/suitecrm.config file and added the following:

<VirtualHost *:80>
ServerAdmin webmaster@mycompany.com
ServerName mycompany.com
DocumentRoot /var/www/html/public
<Directory /var/www/html/public>
AllowOverride All
Order Allow,Deny
Allow from All

ErrorLog ${APACHE_LOG_DIR}/suitecrm_error.log
CustomLog ${APACHE_LOG_DIR}/suitecrm_access.log combined

  • public/legacy/config.php >>> site_url >>> Should be the URL used to access SuiteCRM 8 (https://crm.mycompany/)
  • Run a Rebuild .htaccess from the Repair and Rebuild menu and check the values in public/legacy/.htaccess >>> Line 22 >>> Should be a logical path like legacy/ or public/legacy/
  • Check Apache2 Doc Route is pointing correctly to your public folder.

More on:

  1. Looks like you’re missing a couple of closing tags.
    Try this.
<VirtualHost *:80>
ServerAdmin webmaster@mycompany.com
ServerName mycompany.com
DocumentRoot /var/www/html/public
<Directory /var/www/html/public>
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/suitecrm_error.log
CustomLog ${APACHE_LOG_DIR}/suitecrm_access.log combined
</VirtualHost>
  1. Are you browsing your SuiteCRM on https only?