Powertic offers a temporary address, but you can change the Mautic URL to your own subdomain by adding a CNAME record in your domain's DNS zone.
This DNS zone usually is on your hosting panel, like Godaddy, Bluehost or Cloudflare.
Example:
Name/Host/Alias | TTL* | Record Type | Value/Answer/Destination |
---|---|---|---|
mautic.mydomain.com | 3600 | CNAME | 5d486aa201472.powertic.ca |
Remembering we offer your Mautic URL on our Mautic listing page.
![How to change Mautic URL for your subdomain 1 Annotation on 2019 10 29 at 14 46 06 1024x421 1](https://powertic.com/wp-content/uploads/2020/08/Annotation-on-2019-10-29-at-14-46-06-1024x421-1.png)
After adding the CNAME record in the DNS zone of your domain you need to access the Portainer and also adjust the values of VIRTUAL_HOST and LETSENCRYPT_HOST in the ENV tab of the Mautic container.
Here's a step by step:
1) Log in to Portainer to access, enter the IP of your VPS server in the browser, and add port 9000 at the end (eg: https://192.168.0.1:9000).
To find the login data access powertic.com/en/mautics, select “Installation Instructions”, on the screen that opens scroll down the page until you see “Access to Portainer”.
![How to change Mautic URL for your subdomain 2 virtualhost1 1024x552 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost1-1024x552-1.png)
1.5) Select “location”
![How to change Mautic URL for your subdomain 3 docker 1024x580 1](https://powertic.com/wp-content/uploads/2020/08/docker-1024x580-1.jpg)
2) Select the “local” endpoint
![How to change Mautic URL for your subdomain 4 virtualhost2 1 1024x552 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost2-1-1024x552-1.png)
3) On Dashboard select “Containers”
![How to change Mautic URL for your subdomain 5 virtualhost3 1 1024x552 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost3-1-1024x552-1.png)
4) On the page that lists the containers, select the one that corresponds to Mautic
![How to change Mautic URL for your subdomain 6 virtualhost4 1024x553 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost4-1024x553-1.png)
5) On container select “Duplicate / Edit”
![How to change Mautic URL for your subdomain 7 virtualhost5 1024x552 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost5-1024x552-1.png)
6) Scroll down the screen and select the “ENV” tab
![How to change Mautic URL for your subdomain 8 virtualhost6 1024x552 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost6-1024x552-1.png)
7) In VIRTUAL_HOST and LETSENCRYPT_HOST lines, fill in the values with the subdomain without https:// (eg: mautic.mydomain.com), then select “Deploy the container” and in the pop up that appears select “Replace”
![How to change Mautic URL for your subdomain 9 virtualhost7 1024x553 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost7-1024x553-1.png)
8) Open the Mautic home screen through the subdomain you created (you may have to wait until the DNS propagation is complete) and log in to the platform
![How to change Mautic URL for your subdomain 10 virtualhost8 1024x552 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost8-1024x552-1.png)
9) Open the settings
![How to change Mautic URL for your subdomain 11 virtualhost9 1024x553 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost9-1024x553-1.png)
10) In general settings, enter the subdomain with https: // (eg https://mautic.mydomain.com) and click to save
![How to change Mautic URL for your subdomain 12 virtualhost10 1024x552 1](https://powertic.com/wp-content/uploads/2020/08/virtualhost10-1024x552-1.png)
By following these steps you will ensure the correct functioning of your Mautic in your preferred subdomain.
In case does not work, call us on our web chat at the bottom of the page.