Documentation

Landing Page Platform

Custom domains

By default landing pages will have a url like example.com/web/XXXX-XXXX-XXXX-XXXX. If you want to use a custom domain like product01.example.com or anotherexample.com, you can add this domain to your control panel (or set up a wildcard DNS as described below). Then you go to your landing page and enter the domain at Options > Page settings > Custom domain. This will only work if the Landing Page Platform is installed on a root domain or subdomain.

First, point the CNAME record of your domain to the host where you've installed Landing Page Platform (e.g. mylandingpages.com). Then there're two approaches to use a custom domain.

1
Manual

You can add a custom domain to your control panel (cPanel, Plesk, Direct Admin, etc.). You will have to add this domain (in some control panels it's called a parked domain or domain alias) to the account in which you have installed Landing Page Platform. Then you go to your app and enter the domain at Landing pages > Edit website > Options > Website settings > General > Custom domain.

Example

For example, you have installed the product on platform.example.com and you have created a landing page. Now you want to link the domain mycustomdomain.com to this page.

  1. First, you update the DNS of mycustomdomain.com. Add an A record pointing to the IP address of platform.example.com or — in case you're using a load balancer or dynamic IP — you can add a CNAME record with value of platform.example.com.
  2. Then you have to add the domain to the control panel of platform.example.com. To the same account where you've installed the product.
  3. And finally you enter the domain at Landing pages > Edit website > Options > Website settings > General > Custom domain.

2
Wildcard DNS

If you don't want to manually add domains to your control panel for every site, it is possible to use a wildcard DNS for custom domains. For this you need SSH access to your server. Wildcard domains can be enabled in the Apache httpd.conf file, usually found at /etc/apache2/httpd.conf, but this depends on your server setup and OS. The file should look something like this, depending on your domain and the installation location of the script:

NameVirtualHost *:80  
<VirtualHost *:80>  
    DocumentRoot "/var/www/landing-page-platform/"
    ServerName mydomain.com
    ServerAlias *
</VirtualHost>