UXWizz
WebsitePricingDemoTwitter (X)
  • Introduction
  • 🛠️ Installation
    • Requirements
      • Limitations
      • Server specs (CPU, RAM)
    • Installation guide
      • Uploading the script
      • Creating a MySQL database
      • Running the installer
    • Install on a new server
      • Ubuntu 20.04 (or higher)
      • DigitalOcean
    • Docker
      • Via Docker Compose
      • Standalone Docker image
    • Adding the tracking code
      • Automatic SPA pageview tracking
      • Add tracker to Next.js App
      • Add tracker to React Router App
    • Optimization tips
      • MySQL/MariaDB
      • Auto-delete old data (cron jobs)
      • Apache
    • Frequently Asked Questions
  • 🔧JavaScript API
    • Tags
    • Events
    • Hooks/callbacks
    • Other API functions
    • Session Recording
      • Ignore specific elements
  • 📖Guides and features
    • Goals (NEW!)
    • Ask AI (NEW!)
    • Basic usage
    • A/B testing
    • Usage tips
    • Dashboard user access level
    • Resetting the admin password
    • Database querying
    • Technical details
      • IP Geolocation
    • Troubleshooting
      • Agency
        • MultiDB
      • Dashboard
        • Refreshing dashboard sub-page leads to 404 error
        • Website iframe not loading (x-frame-options)
        • License says "invalid"
        • Updating Fails
      • Tracking
        • No data is being recorded
        • Can't include tracker via Google Tag Manager
        • The A/B test JS file is missing
      • WordPress
        • Cloudways 403 Forbidden screen on WordPress
        • NGINX 403 Forbidden screen on WordPress
    • Extending the dashboard
    • Support
    • Migrating to a new server
  • 🎓Useful Examples
    • Feedback form (polls)
    • Tracking 404 Pages
    • Tracking UTM parameters
    • Tracking Google Ads GCLID
    • Storing user device types
    • Track video playback
  • 📜About
    • Changelog
    • Personal Data Information
    • Privacy Policy (uxwizz.com)
    • Licenses and pricing
    • [Deprecated] License Subscriptions
Powered by GitBook
On this page
  • 1. Create a new server running UXWizz
  • 2. Point your own domain name to the UXWizz dashboard server
  • 3. Add free HTTPS certificate for that domain.

Was this helpful?

  1. 🛠️ Installation
  2. Install on a new server

DigitalOcean

PreviousUbuntu 20.04 (or higher)NextDocker

Last updated 4 months ago

Was this helpful?

Note: This guide is deprecated.

Use the UXWizz 1-Click DigitalOcean App instead!

UXWizz is now available as a 1-Click App on DigitalOcean and can be installed even easier. .

Server setup summary:

1. Create a new server running UXWizz

If you don't already have a DigitalOcean account, you can (referral link, you get $200 free credits on sign-up).

1) Create a new droplet.

2) Choose your preferred server location Normally this should be close to you, or close to where the majority of the tracked users are. A central location such as Amsterdam could also be good.

3) Choose the LAMP image from the Marketplace

4) Choose the $6/mo plan If you want you can choose a more powerful server, but the $6/mo should be enough for at least 20-30k monthly visitors. If you want even faster performance, you can go for the $7/mo premium CPUs with NVMe SSD. You can also change the plan any time after creating the server.

5) Select the preferred authentication method to access the server and the server name. SSH is recommended, but if you are not familiar with SSH you can select one-time password.

6) Select the free "Monitoring and alerting" add-on This will enable performance graphs in your DigitalOcean dashboard, so you can see the CPU/Memory/Disk/Network usage of the server.

7) Click Advanced Options -> Add Initialization scripts (free) This is where the magic happens and what automatically installs UXWizz on the server.

Add the copied code to the text input, it should look something like this:

You can optionally enable backups. You can also do this later, after the server is created.

To recap, those options should be selected:

  1. Marketplace -> LAMP on 18.04 (or newer) image.

  2. User data textarea must be filled with the #cloud-config code as explained above.

Everything is done, click Create Droplet. The server will now be created, it usually takes 4-5 minutes before it can be accessed.

While it's being setup we can add our own domain to point to that IP.

2. Point your own domain name to the UXWizz dashboard server

To do this, you have to go add some DNS records to your domain from your domain name registrar. Add two A records from your domain (or subdomain name) to the IP of your server.

  1. A analytics.example.com 123.123.456.9

  2. A www.analytics.example.com 123.456.78.9

3. Add free HTTPS certificate for that domain.

The easiest way to access the server is through the web console. Here you can use the password that was set when creating the droplet.

Note that when you type passwords in a console, nothing is displayed but the password is actually typed. When you paste the password from your email you won't see anything, so just paste with it CTRL+V and submit with ENTER.

You should now be able to access UXWizz using the new domain name. It can also be accessed from the server IP.

Now, back to the HTTPS certificate. While you are in the console, run this command to generate a free HTTPS certificate using certbot: (replace example.com and www.example.com with the own domains, the same as in step 2)

certbot --apache --agree-tos -d example.com -d www.example.com

There are 3-4 questions you have to respond to in the console after running that command in order for the certificate to be issued.

Done! You now have a UXWizz instance, running on your own server, on your own domain with a HTTPS certificate.

You might be able to also use this as a guide to add UXWizz on a server from different hosting provider, but the user data (cloud-init) script might not work, as it has some DigitalOcean specific paths.

If you had any issues following this guide, or want to suggest making a similar guide for a different provider (assuming they support premade LAMP images and cloud-init), you can send me an e-mail at support [at] uxwizz.com.

If you are interested you can read more about the DigitalOcean LAMP image here:

You can get the "user data" code by accessing this URL: (replace YOUR_LICENSE_KEY with your own UXWizz license code)

NOTE: If you are using the trial version, use this link instead:

https://marketplace.digitalocean.com/apps/lamp#getting-started
https://www.uxwizz.com/get-cloud-config?license=YOUR_LICENSE_KEY
https://www.uxwizz.com/get-cloud-config?license=TRIAL
Click here to deploy UXWizz 1-Click App on DigitalOcean
create one here
Create a new UXWizz server.
Point your own domain name at that server's IP.
Add free HTTPS certificate for that domain.
DigitalOcean Marketplace - LAMP image
DigitalOcean Enable Monitoring and Alerting