---
title: "How to Create a Website with Dolibarr ERP Software"
description: "Dolibarr is an open-source customer relationship management (CRM) and Enterprise Resource Planning (ERP) software that can manage every aspect of your business processes:&nbsp; eCommerce sales with..."
url: https://www.inmotionhosting.com/support/edu/software/dolibarr-erp-software-website/
date: 2021-03-17
modified: 2023-11-03
author: "InMotion Hosting Contributor"
categories: ["Software"]
type: post
lang: en
---

# How to Create a Website with Dolibarr ERP Software

![How to Create a Website with Dolibarr ERP Software Hero Image](https://www.inmotionhosting.com/support/wp-content/uploads/2023/11/How-to-Create-a-website-with-Dolibarr-ERP-Software-1024x538.png)

[**Dolibarr**](https://www.dolibarr.org/) is an open-source [customer relationship management (CRM)](https://www.inmotionhosting.com/blog/what-is-crm/) and Enterprise Resource Planning (ERP) software that can manage every aspect of your business processes: 

- [eCommerce sales](https://www.inmotionhosting.com/support/website/ecommerce/which-ecommerce-hosting-should-i-choose/) with customers
- [Marketing initiatives](https://www.inmotionhosting.com/blog/best-practices-for-online-marketing/) to improve branding
- [Internal finances](https://www.inmotionhosting.com/blog/what-makes-a-successful-entrepreneur/) and supply chain (logistics) operations
- Waterfall and scrum [project management](https://www.inmotionhosting.com/blog/what-can-you-do-with-linux-vps-hosting/#project)
- Risk management and [cybersecurity](https://www.inmotionhosting.com/blog/ways-to-learn-more-about-cybersecurity/) compliance
- And much more

Dolibarr is available for easy installation via the [Softaculous Instant Installer](https://www.inmotionhosting.com/support/product-guides/softaculous/install-software-softaculous/).

A business looking to get the most from the ERP software can develop a website with the content management system (CMS), or [**Websites, Dolibarr module**](https://www.dolibarr.org/presentation-cms-website.php). This allows you to easily integrate data into a public-facing website via MySQL and PHP. It also eliminates the need to install and manage another CMS which would require more web server resources and time to configure.

Below we’ll cover how to:

- [Enable the Websites Dolibarr Module](#enable)
- [Add a Website in Dolibarr ERP Software](#add)
- [Create a Dolibarr Website](#create)
- [Develop Your Dolibarr Website](#develop)
- [Configure Your Dolibarr Website for Public Visibility](#config)
  - [Configuring cPanel Servers](#cpanel)
  - [Configuring Unmanaged Servers](#unmanaged)

![Secure VPS Hosting](https://design.inmotionhosting.com/assets/icons/custom/security.svg)Enjoy high-performance, lightning-fast servers with increased security and maximum up-time with our [Secure VPS Hosting](https://www.inmotionhosting.com/vps-hosting)!

![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Linux VPS ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)cPanel or Control Web Panel ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Scalable ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Website Migration Assistance

[Linux VPS Hosting](https://www.inmotionhosting.com/vps-hosting/linux-vps)

## Enable the Websites Dolibarr Module

![Enable the Dolibarr Websites module](https://www.inmotionhosting.com/support/wp-content/uploads/2021/03/dolibarr-websites-module-300x68.png)

1. Log into Dolibarr.
2. On the left, under *Setup*, select **Modules/Applications**.
3. At the bottom, under *Websites and other frontal application*, select the slider icon under **WEBSITES**. You’ll now see a *Websites* button in the upper-left corner with *Home* and *Tools*.

## Add a Website in Dolibarr ERP Software

1. At the top, select **Websites**.
2. In the upper-left corner, select the drop-down menu and select **+ Add Website**.
3. Add a name for the website. This can be a domain name (e.g. example.com) or subdirectory for a subdomain (e.g. “site” for site.dolibarr.com). This will become the directory name for your website files. You’ll later connect this directory to an addon domain or subdomain for public access.
4. Specify the primary language. You can add additional languages with the two-letter abbreviation divided by a comma (you can get this from the main language drop-down menu).
5. Add what will later become the final URL for the website in the *Virtualhost* text box.
6. Select **Create**. You’ll be redirected to a blank page to start developing your website.

![Blank Website in Dolibarr ERP Software](https://www.inmotionhosting.com/support/wp-content/uploads/2021/03/dolibarr-website-blank-1024x576.png)

## Create a Dolibarr Website

There three ways to develop a website with the Dolibarr ERP software:

- Build it from scratch with [HTML](https://www.inmotionhosting.com/support/website/website-design/beginner-web-design/), CSS, [JavaScript](https://www.inmotionhosting.com/support/website/website-design/javascript-resources/), and [PHP](https://www.inmotionhosting.com/blog/learn-how-to-code-online-the-top-4-online-learning-centers/)
- Import a live website via URL to acquire a template to build on
- Import a website template from the Dolibarr marketplace – [DoliStore](https://www.dolistore.com/en/43-web-site-templates)

We’re going to cover building a website from a free template available from [DoliStore.com](https://www.dolistore.com/en/43-web-site-templates).

1. Download [Corporate web site template 11.0](https://www.dolistore.com/en/web-site-templates/1052-Corporate-web-site-template.html) to your computer. At the time of initially creating this guide, this is the only free template available from the website. You may find more through unofficial sources but you do so at your own risk.
2. In your Dolibarr dashboard, select **Import website template**.
3. Select **Browse…** and select the zip file from your computer.
4. Select **Upload**. If this works, continue to [Develop Your Dolibarr Website](#develop).
5. If that doesn’t work (e.g. “file size is too large”), there are two options.1. **Change your upload settings** in *Home > Security > Files (Upload)* from 2048 KB (2.048 MB) to 5000 KB (5MB) or 10240 KB (10.24 MB). Then increase your *upload_max_filesize* in [MultiPHP INI Editor](https://www.inmotionhosting.com/support/edu/cpanel/cpanel-multiphp-ini-editor/) (recommended for cPanel users) or directly in the [PHP.ini](https://www.inmotionhosting.com/support/website/increase-the-max-file-upload-size-in-php-ini/). Managed VPS/Dedicated server administrators may need to check the [phpinfo.php file](https://www.inmotionhosting.com/support/website/how-to-create-a-phpinfo-page/) to determine if there’s a need to modify the master value. Then repeat step 4.2. **Upload the file manually**. To do so, hover your cursor over the `?` beside *Templates* for your skins directory. By default, it should be `doctemplates/websites`. This file path will be in your private Dolibarr data subdirectory. If you used the default [Softaculous installation](https://www.inmotionhosting.com/support/product-guides/softaculous/install-software-softaculous/) settings, this will be `/dolibarrdata`. 
6. [Upload the template file](https://www.inmotionhosting.com/support/website/how-to-upload-files-server/) to your `/doctemplates/websites` directory. 
7. When you refresh the Dolibarr page, you’ll see the template file listed under *Templates*. Click **Load**. You’ll be redirected to the website editing page.

![Corporate Website Example in Dolibarr ERP Software](https://www.inmotionhosting.com/support/wp-content/uploads/2021/03/dolibarr-corporate-website-1024x576.jpg)

## Develop Your Dolibarr Website

At this point, you’ll likely first want to know how to customize the website code (*Edit HTML Source* link) and preview the website in a new tab (binoculars button on the right). 

If you preview your page and only see text and unstyled buttons, it is probably the result of your [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) HTTP header. Use the browser Inspect Element console to determine what needs to be whitelisted. In the screenshot below,  “https://cdnjs.cloudflare.com/ajax/libs/font-awesome/” needs to be whitelisted in `style-src` and `font-src`.

![Dolibarr website preview with Content Security Policy errors in browser console](https://www.inmotionhosting.com/support/wp-content/uploads/2021/03/dolibarr-website-csp-1024x576.png)

We won’t discuss coding but you can learn about web design and development within our [Support Center](https://www.inmotionhosting.com/support/). If you have specific questions about developing your Dolibarr website, check out our [Community Forum](https://www.inmotionhosting.com/support/questions/).

## Configure Your Dolibarr Website for Public Visibility

For info on showing your website publicly, select **Test/deploy on web** in the upper-right corner of your ERP software. A pop-up will share the info you’ll need to publish it with the URL (Virtualhost) at the top.

### Configuring cPanel Servers

1. On cPanel-managed servers, [create a subdomain](https://www.inmotionhosting.com/support/edu/cpanel/creating-a-subdomain/) or [addon domain](https://www.inmotionhosting.com/support/edu/cpanel/addon-domains-in-cpanel/) connected to your website directory. If you used default Softaculous installation settings, the document root should be `/dolibarrdata/website/WebsiteName` (replacing “WebsiteName” with your specified name).
2. Check your website in a [private browsing session](https://www.inmotionhosting.com/support/resources/how-to-start-a-private-browsing-session/).
3. If your website doesn’t work, you’ll need to edit some file permissions. Edit the [.htaccess file](https://www.inmotionhosting.com/support/website/where-is-my-htaccess-file/) in your `/dolibarrdata` directory.
4. Comment out the two lines to disable usage:# Order allow,deny # Deny from allFor better security, you can add `Options -Indexes` to the bottom of the file. Users needing more privacy can make changes with the [IP Deny Manager](https://www.inmotionhosting.com/support/website/using-the-ip-deny-manager/).
5. Save your changes.
6. Try viewing your website again. If anything doesn’t work, check your [server logs](https://www.inmotionhosting.com/support/edu/cpanel/cpanel-logs-for-access-apache-email-error-ftp-mysql-whm/) in [SSH](https://www.inmotionhosting.com/support/server/ssh/how-to-login-ssh/) or [WebHost Manager (WHM) Terminal](https://www.inmotionhosting.com/support/edu/whm/how-to-open-a-terminal-connection-in-whm/) as user [root](https://www.inmotionhosting.com/support/amp/obtain-root-access/) for more information (replacing “WebsiteName” with your specific website directory):cat /var/log/apache2/error_log | grep WebsiteName

![Public Corporate Website Example in Dolibarr ERP Software](https://www.inmotionhosting.com/support/wp-content/uploads/2021/03/dolibarr-website-template-1024x576.jpg)

Once your website is operational, upload a [favicon.ico](https://www.inmotionhosting.com/support/website/how-to-create-a-favicon-for-your-website/) file to the website directory since this isn’t done automatically. You can use the free [GIMP](https://www.inmotionhosting.com/support/website/website-design/gimp-favicon/) desktop application to create a favicon.

### Configuring Unmanaged Servers

For [unmanaged Linux servers](https://www.inmotionhosting.com/cloud-vps), you’ll need to check your web server documentation (e.g. [Apache](https://httpd.apache.org/docs/2.4/vhosts/examples.html), NGINX, etc.) for more information on modifying vhost files. The Dolibarr pop-up window shows required file and directory [permissions](https://www.inmotionhosting.com/support/security/file-permissions/).

Learn more about improving your business with our [Managed VPS Hosting Product Guide](https://www.inmotionhosting.com/support/product-guides/vps-hosting/).
