How to Set Up Custom Domain using Reverse Proxy for Nginx/Apache

You can set up your custom domain to point to a reverse proxy using Nginx/Apache web server, which is more suitable for a technical audience. If you have limited technical knowledge, it's recommended to use Cloudflare for configuring your custom domain.

The reverse proxy enables you to establish a tracking page with your domain on your web server, utilizing your SSL certificate. When a customer visits your tracking page, the reverse proxy is invoked first. It serves as an intermediary between your domain and TrackMage, allowing the use of your SSL certificate.

Here is a simple illustration demonstrating how it works:

Here are the steps to configure a reverse proxy:

Step 1

Navigate to your DNS provider and use an A record to direct your domain or subdomain to your web server.

Step 2

Afterward, configure the settings based on your web server type. This step could demand advanced server configuration skills. If needed, don't hesitate to reach out to your IT department for assistance.


server {  
listen 80;
listen ssl;
ssl_certificate fullchain.pem;
ssl_certificate_key privkey.pem;
location / {


<VirtualHost :80>  
Redirect permanent / </VirtualHost> <VirtualHost
SSLEngine on
SSLCertificateFile cert.pem
SSLCertificateKeyFile key.pem
ProxyPreserveHost On
ProxyPass /
ProxyPassReverse / </VirtualHost>

Step 3

Now, return to TrackMage and proceed to add your custom domain

If you need help, please don't hesitate to contact us via chat or send a message to

Did this solve your problem?