HollaEx®
⚙️ DashboardStart →
  • HollaEx® — The Crypto Exchange Solution
  • ☁️Cloud Operators
    • Launching the Exchange
    • Setting Domain for Cloud Exchanges
    • Easy SMTP for Cloud Exchanges
    • SEO Settings for Cloud Exchanges
      • SEO Advanced Settings
  • ⚙️Operating Your Exchange
    • Operator Control Panel
      • General
      • Users
      • User Profile
      • Assets
      • Markets
      • Stakes
      • Sessions
      • Plugins Apps
      • Trading Fees & Account Tiers
      • Roles
      • Chat
      • Billing
    • Customize Exchange
      • Browser Tools
        • Enter Edit Mode
        • Operator Controls (Visuals)
        • Console
      • Plugins
      • Forked Repo
    • Fiat Controls
      • Initial Setup
      • Setting Up Fiat On/ Off Ramp
      • Editing Deposit & Withdrawal Fees
      • Users Making Fiat Deposit
      • Users Trading With Fiat
      • User Making Fiat Withdrawal
    • Staking
    • OTC Broker
    • P2P
      • P2P Overview
      • P2P Setup
      • P2P Troubleshooting
      • P2P Vendor Flow
    • Smart Chain Trading
    • Assets & Trading Pairs
      • Add New Assets & Trading Pairs
      • Configure Pair Parameters
    • Set up the SMTP Email
      • Set up SMTP with AWS SES
      • Set up SMTP with Mailgun
      • Set up SMTP with SendGrid
      • Test the SMTP with Gmail
    • Enabling reCAPTCHA
    • Email Customization & Audit
    • DeFi Asset Staking Process
  • 🧩Plugins
    • HollaEx Plugins
      • Announcements
      • Bank
      • AWS SNS (Text Messages - SMS)
      • KYC
      • Automatic KYC
      • Messente
      • Advanced Referral
      • CoinMarketCap
      • Guardarian
    • Install Plugins
    • Developing Plugins
      • Development Walkthrough: Hello-Plugin
        • Initialization
        • Configuration
        • Scripting
        • Web View
        • The Final Product & Installation
      • Advanced
        • Initialization
        • Config
        • Server Script
        • Plugin Libraries
        • Web View
        • Final Plugin Product
        • Advanced Tutorial: Using the user meta field
        • Advanced Tutorial: Adding a new database table column
        • Advanced Tutorial: Creating a new database table
      • Simple Wallet Example
      • Web View Development
        • Overview
        • External dependencies
        • Getting started
        • Basic Tutorial: Hello Exchange Plugin web view
        • Advanced Tutorial: KYC Plugin web views
    • Bank Integration
      • Handling Deposits
      • Handling Withdrawals
  • 👷Developers
    • API Guide
      • API Example Scripts
    • Run Dev Mode
    • Build a New Front-end Interface
  • 🧰On-Premise Operators (Advanced Only)
    • On-Premise Exchange Setup
      • Getting Started — Requirements
      • Installation
      • Server Setup
      • Web Setup
      • Production
    • CLI How-Tos
      • Start Exchange
      • Stop Exchange
      • Upgrade Exchange
        • Build and Apply the Code Changes
      • Get Exchange Logs
      • Get a Backup and Restore
      • Exchange Migration
      • Command List
    • Run Exchange on Kubernetes
    • Troubleshooting Guide
  • 🚀Advanced
    • SEO Optimization
    • Nginx
    • Rate Limits
    • Database
      • Upgrade Database
    • Dependencies
    • Contents Delivery Network
      • Cloudflare CDN for HollaEx
      • CloudFront CDN for HollaEx
    • Load Balancer
      • AWS ELB
      • DigitalOcean LB
    • Customize Kubenretes Ingress
    • Exchange Keys
      • Exchange API Keys Troubleshoot
    • HollaEx on non-Linux
      • HollaEx on Windows
      • HollaEx on macOS
    • The Network Tool Library
      • Accessing the Network Tool Library
      • Functions
        • WebSocket
      • Simple Example: Creating a User and Wallet
      • Getting More Interesting: Orders with the Tools
        • Setup: Using the transferAsset function
        • Creating and Monitoring a Sell Order
        • Settling Fees
      • Private HollaEx Network
    • Docker Content Trust (DCT)
    • Revenue Sharing
  • 📦Releases
    • Release Notes
    • Side Notes
  • ➡️External Links
  • Blogs
  • Forum
  • Videos
  • Twitter X
  • Telegram
  • Interactive Demo
  • Discord Community
  • API Documentation
  • Tools Library Documentation
  • Node Library Documentation
  • Plugins Documentation
Powered by GitBook
On this page
  • Set-Up
  • Domain - Getting and Setting
  • Firewall 🔥
  • Opening the Exchange to the Internet
  1. On-Premise Operators (Advanced Only)
  2. On-Premise Exchange Setup

Production

Once the exchange is setup, it will work great but just on the computer it has been set up on, to let any one else join in we will need to put it into production

PreviousWeb SetupNextCLI How-Tos

Last updated 5 months ago

If you are a Cloud user, please go to the hosting section of the HollaEx Dashboard to configure custom domains.

Set-Up

To get ready to level up the exchange and get it ready for the world there are two ducks to get in a row first 🦆:

  1. The domain

    1. Obtaining one

    2. Add the correct A record

  2. Firewall

    1. Opening the two correct ports

Domain - Getting and Setting

Of course, to get your website hosted, you must own and have access to the DNS settings of a domain. If you don't know how to do this, read

Once you have purchased a domain, if you haven't already, head to the DNS settings. In these settings, we will only need a single A record. The value of this A record should be the that you have set up the kit on and are hosting the website on.

If there are any A records already on the DNS settings (GoDaddy for example has a default parking page record as standard), remove these, so there is just the single added A record.

Firewall 🔥

Next up we need to open up two ports on our firewall. These ports are 80 and 443, with the correct IPv4 Addresses. There are various ways this may be done, so check with Google how to do this for the specific machine you are using.

Opening the Exchange to the Internet

With the domain and Firewall sorted, now it is time to open your exchange to the internet and make it accessible externally To get going, get onto your terminal, navigate to the hollaex-kit directory, and start up with the following command:

hollaex prod

This will open the following CLI message confirming that we want to proceed, hit Y to do so.

After this, we will be asked whether or not we want to issue SSL certificates, or if instead plan to use an external load balancer. If at this point you aren't sure about these concepts, stick with Y for now.

The CLI will ask us if we want to use redirects, in most cases we will be wanting this so input 2.

This will issue the certificate nearly instantly, and we will be greeted with a page like the one below:

Before running off to check that we can reach the exchange on that domain, we have three more commands just to make sure everything will be working seamlessly.

First, restart the server with:

hollaex server --restart

Once this is done, the web server should be rebuilt to prevent a communication issue between the API server by running the command below, this will take a few minutes so hang tight:

hollaex web --build

Finally, once the web image gets built successfully, you'll see the instruction like in the screenshot. Copy and paste this command, and let it run, like in the image below:

hollaex web --apply --registry <YOUR_IMAGE_REGISTRY> --tag <YOUR_IMAGE_TAG>

Let this run and you will be greeted by a big, old tick, and can try accessing your domain!

And Voila (for real this time)! Your exchange is fully accessible from the internet. Now, you are ready to roll out your brand-new exchange to the world.

Good luck, and happy trading!

HollaEx will issue the SSL Certificate through and (This will give our site the little padlock beside the URL so users can trade knowing the website is secure). Hit one to issue these certificates for the website.

🧰
Certbot
Let's Encrypt
this article.
IP of the machine
Example of GoDaddy settings
Remember to have your domain ready
As always, green = good
Redirects will secure HTTPS, most secure way to share our site
Alongside green, ASCII pics are usaully a good sign as well
This actually is the final terminal command, really
You made it!