Domain names

Domain names serve as easily recognizable labels for online locations such as websites, translating difficult-to-remember numerical IP addresses into readable, memorable web addresses.

You can use a domain name you own for your Nexovate website.

Configure an existing domain name

If you already own a domain name, you can use it for your Nexovate website.

Warning

To avoid potential SSL certificate validation issues, it is strongly recommended to follow these steps in the specified order:

  1. If you are transferring your website, set up URL redirections before transferring the domain name to preserve the website’s SEO.

  2. Add a CNAME record.

  3. Redirect your naked domain name (this step is optional but recommended).

  4. Map your domain name to your Nexovate database.

  5. Map your domain name to your Nexovate website.

Add a CNAME record

Adding a CNAME record to forward your domain name to the address of your Nexovate database is required.

The CNAME record’s target address should be the address of the server where your Nexovate instance runs (e.g., nexovate.mycompany.com).

The specific instructions depend on your DNS hosting service.

Redirect a naked domain

Note

Although optional, completing this step is advised.

To let visitors use your naked domain name (a domain name without any subdomains or prefixes) (yourdomain.com), creating a 301 redirect (a permanent redirect from one URL to another) to www.yourdomain.com is required:

  • from http://yourdomain.com to https://www.yourdomain.com, and

  • from https://yourdomain.com to https://www.yourdomain.com.

The specific instructions depend on your DNS hosting service. However, not all of them offer to redirect a naked domain to HTTPS. If you encounter any issues, we recommend using Cloudflare.

Using Cloudflare to secure and redirect a naked domain

  1. Sign up and log in to Cloudflare.

  2. Enter your domain name on Cloudflare’s dashboard and select Quick scan for DNS records.

  3. Choose a plan (the free plan is sufficient).

  4. Follow Cloudflare’s instructions and recommendations to complete the activation.

  5. Add a CNAME record to redirect your naked domain (yourdomain.com) to the www subdomain (e.g., www.yourdomain.com) by clicking DNS in the navigation menu, then clicking the Add record button, and using the following configuration:

    • Type: select CNAME.

    • Name: enter @ (or yourdomain.com).

    • Target: enter www. + yourdomain.com, e.g., www.yourdomain.com.

    • Proxy status: toggle the option on (Proxied).

    • Click Save.

    Adding a CNAME DNS record to Cloudflare to redirect a naked domain to a www subdomain
  6. Add another second CNAME record to redirect the www subdomain (e.g., www.yourdomain.com) to your database address (e.g., nexovate.mycompany.com) using the following configuration:

    • Type: select CNAME.

    • Name: enter www. followed by your domain name, e.g., www.yourdomain.com.

    • Target: enter your database’s address as defined at its creation e.g., nexovate.mycompany.com

    • Proxy status: toggle the option off (DNS only).

    • Click Save.

    Adding a CNAME DNS record to Cloudflare to redirect a www subdomain to a Nexovate database
  7. Define a redirect rule to permanently redirect (301) your naked domain (e.g., yourdomain.com) to both http:// and https:// by going to Rules ‣ Overview ‣ Create rule ‣ Redirect Rule. On that page:

    • Enter any Rule name.

    • Under the If incoming requests match… section, select Custom filter expression and use the following configuration:

      • Field: select Hostname.

      • Operator: select equals.

      • Value: enter your domain name, e.g., yourdomain.com.

    • Under the Then… section, use the following configuration:

      • Type: select Dynamic.

      • Expression: enter the following expression concat("https://www.yourdomain.com", http.request.uri.path), replacing yourdomain.com with your domain name.

      • Status code: select 301.

      • Preserve query string: enable the option by ticking the box.

    • Click Deploy.

    Defining a Cloudflare redirect rule to create a permanent redirect (301)
  8. Go to SSL/TLS ‣ Overview ‣ Configure and ensure the encryption mode is set to Full.

    Setting the encryption mode to full on Cloudflare

Map a domain name to a Nexovate database

Warning

Ensure you have added a CNAME record to your domain name’s DNS before mapping your domain name to your Nexovate database.

Failing to do so may prevent the SSL certificate from being validated and could result in a certificate name mismatch error. Web browsers often display this as a warning, such as “Your connection is not private”.

If you encounter this error after mapping the domain name to your database, check the SSL certificate configuration of your web server and the CNAME records of your domain name.

Configure the web server (e.g., a reverse proxy such as Nginx) that serves your Nexovate instance so that it answers to the domain name, and make sure the domain name is listed in its configuration.

SSL encryption (HTTPS protocol)

SSL encryption allows visitors to navigate a website over a secure connection, indicated by the https:// protocol at the beginning of a web address rather than the non-secure http:// protocol.

Nexovate generates a separate SSL certificate for each domain mapped to a database using Let’s Encrypt’s certificate authority and ACME protocol. Any CAA records configured for the domain must allow Let’s Encrypt, otherwise certificate generation may fail.

Important

No SSL certificate is generated for naked domains (domain names without any subdomains or prefixes).

Web base URL of a database

Note

If the Website app is installed on your database, skip this section and continue from the Map a domain name to a Nexovate website section.

The web base URL or root URL of a database affects your main website address and all the links sent to your customers (e.g., quotations, portal links, etc.).

To make your custom domain name the web base URL of your database, access your database using your custom domain name and log in as an administrator (a user part of the Settings access right group under Administration).

Important

If you access your database using the original Nexovate address (e.g., nexovate.mycompany.com), the database’s web base URL will be updated accordingly. To prevent the automatic update of the web base URL when an administrator logs in to the database, activate the developer mode, go to Settings ‣ Technical ‣ System Parameters ‣ New, and enter web.base.url.freeze as the Key and True as the Value.

Note

You can also set the web base URL manually. To do so, activate the developer mode, go to Settings ‣ Technical ‣ System Parameters, and search for the web.base.url key (create it if necessary) and enter the full address of your website as the value (e.g., https://www.yourdomain.com). The URL must include the protocol https:// (or http://) and not end with a slash (/).

Map a domain name to a Nexovate website

Note

Mapping your domain name to your website is different than mapping it to your database:

  • It defines your domain name as the main one for your website, helping search engines index it correctly.

  • It defines your domain name as the base URL for your database, including portal links sent to your customers via email.

  • If you have multiple websites, it maps your domain name to the appropriate website.

Go to Website ‣ Configuration ‣ Settings. If you have multiple websites, select the one you want to configure. In the Domain field, enter the URL of your website (e.g., https://www.yourdomain.com) and Save.

Warning

Mapping your domain name to your Nexovate website prevents Google Search from indexing your original database address (e.g., nexovate.mycompany.com).

If both addresses are already indexed, it may take some time for the indexation of the second address to be removed from Google Search. You can use the Google Search Console to fix the issue.

Subdomains

Adding a subdomain label to a domain name (e.g., subdomain.yourdomain.com) allows creating multiple websites with a single domain name. To do so:

  1. Add a CNAME record to forward your subdomain (e.g., subdomain.yourdomain.com) to the address of your Nexovate database (e.g., nexovate.mycompany.com).

  2. Map the subdomain to your Nexovate database.

  3. Map the subdomain to your Nexovate website.