Subscribers form and some other.

vector_di

Member
Nov 18, 2019
57
3
8
Hello everybody,

I have a few questions about setting up mumara campaigns. I installed mumara using mumara installation bash script.
But now I have the following task. I have a separate server where I installed landing page.

What should I do to collect my subscribers into a new in mumara list?
I created a new web form and I got the html. But in the html code I see the real domain of my mumara.
That is, anyone who visits my landing page in the code will see the real domain of the mumara. (This not good!)

I tried to use and configure the Primary Domain, but I had no success.
I have set up SSL from cloudflare to First mumara domain, but I didn't do it for Primary Domain as I don't know how to bind SSL + First Domain + Primary Domain. And in general, is it worth installing SSL on a server with mumara? What problems could there be?

Also I added Sending Domains to my landing domain before, but CNAME didn't work after check.

I am confused and I don’t understand how I should organize the work. My task is to collect subscribers into separate lists in mumara and further redirect.
Please answer.
 

wasif

Administrator
Staff member
Apr 9, 2019
576
112
43
When you change the primary domain, make sure your apache knows this domain and it should know where to point this domain. So you should be required to add a virtualhost of your primary domain in apache and point it to Mumara's physical location. If you have installed via Command line, then you can add the virtualhost of your primary domain by the following method

  • Login to your server via any sftp client e.g. WinSCP
  • Navigate to /etc/httpd/conf.d
  • Create a new file your_primary_domain.com.conf (replace your_primary_domain.com with your primary domain)
  • Copy the content below

Code:
<VirtualHost *:80>
     ServerAdmin webmaster@your_primary_domain.com
     ServerName your_primary_domain.com
     DocumentRoot /var/www/mumara_domain.com/public_html/
     ErrorLog /var/www/mumara_domain.com/logs/error.log
      <Directory "/var/www/mumara_domain.com/public_html/">
         AllowOverride All
    </Directory>
</VirtualHost>
Replace your_primary_domain.com with your primary domain and mumara_domain.com with your original Mumara domain.

  • Save the file
  • Restart apache service httpd restart or systemctl restart httpd.service
Now your apache knows how to entertain the request.


Installing Free SSL by Let's Encrypt using Mumara Command-line tool

Use the command below to get SSL installed on the domains running inside your server

cd /home && curl -o ssl_install -L https://dl.mumara.com/ssl_install && sh ssl_install


And regarding your question, if you want to change the Mumara main domain in the HTML code generated by the Mumara web form, you can just replace it with any functional domain running on the Mumara server and pointing to the Mumara's physical path. Either it's a primary domain or any other domain, it should work.
 

vector_di

Member
Nov 18, 2019
57
3
8
You probably misunderstand me. I'll try to explain again.

Now I have installed mumara (for example - mymumara.com) and added Primary domain in mumara frontend (for example - myprimary.com) (I didn't use any SSL this time).

I have a third vds. There I create my landing page (for example - mylanding.com)
After that I go to mumara and add Sending Domains - mylanding.com.

Mumara tells me that I should add:

click.mylanding.com CNAME myprimary.com

I did it, But in the "Sending Domains" menu I see that Tracking Domain is not working! (red cross)

After that I go to the "Web Forms" menu and I create a new web form. After the web-form is ready, I click "Get HTML code" and I see:

<form action = "http://mymumara.com/web-forms/subscription-data" method = "POST" class = "kt-form kt-form - label-right">

That is, the real domain of the mumara (for example - mymumara.com) becomes visible from the created web-form!
 

vector_di

Member
Nov 18, 2019
57
3
8
When you change the primary domain, make sure your apache knows this domain and it should know where to point this domain. So you should be required to add a virtualhost of your primary domain in apache and point it to Mumara's physical location. If you have installed via Command line, then you can add the virtualhost of your primary domain by the following method

  • Login to your server via any sftp client e.g. WinSCP
  • Navigate to /etc/httpd/conf.d
  • Create a new file your_primary_domain.com.conf (replace your_primary_domain.com with your primary domain)
  • Copy the content below
Code:
<VirtualHost *:80>
     ServerAdmin webmaster@your_primary_domain.com
     ServerName your_primary_domain.com
     DocumentRoot /var/www/mumara_domain.com/public_html/
     ErrorLog /var/www/mumara_domain.com/logs/error.log
      <Directory "/var/www/mumara_domain.com/public_html/">
         AllowOverride All
    </Directory>
</VirtualHost>
Replace your_primary_domain.com with your primary domain and mumara_domain.com with your original Mumara domain.

  • Save the file
  • Restart apache service httpd restart or systemctl restart httpd.service
Now your apache knows how to entertain the request.


Installing Free SSL by Let's Encrypt using Mumara Command-line tool

Use the command below to get SSL installed on the domains running inside your server

cd /home && curl -o ssl_install -L https://dl.mumara.com/ssl_install && sh ssl_install


And regarding your question, if you want to change the Mumara main domain in the HTML code generated by the Mumara web form, you can just replace it with any functional domain running on the Mumara server and pointing to the Mumara's physical path. Either it's a primary domain or any other domain, it should work.


Should I add apache config for Sending Domain as well?

Now I change in line <form action = "http://mymumara.com/web-forms/subscription-data" method = "POST" class = "kt-form kt-form - label-right">:

http://mymumara.com/web-forms/subscription-data = http://click.mylanding.com/web-forms/subscription-data

And it seems to work, but Sending Domain says CNAME isn't working.

134
 

wasif

Administrator
Staff member
Apr 9, 2019
576
112
43
Glad to see that it worked for you and you understood it. Any domain you want to handshake with Mumara, you need to make sure that there is a green signal by both sides i.e. the domain/subdomain points to the Mumara server, and the Mumara server also has an active virtualhost for this domain.

And CNAME takes a while for Mumara to pull again. Click on the blue "Recheck" button and it should fix the red cross.