{"id":60696,"date":"2020-09-25T09:55:51","date_gmt":"2020-09-25T12:55:51","guid":{"rendered":"https:\/\/powertic.com\/pt-br\/?post_type=kb&#038;p=60696"},"modified":"2020-09-25T10:10:02","modified_gmt":"2020-09-25T13:10:02","slug":"how-change-mautic-url-your-subdomain","status":"publish","type":"kb","link":"https:\/\/powertic.com\/pt-br\/kb\/how-change-mautic-url-your-subdomain\/","title":{"rendered":"How to change Mautic URL for your subdomain"},"content":{"rendered":"<p>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. <\/p>\n\n\n\n<p>This DNS zone usually is on your hosting panel, like Godaddy, Bluehost or Cloudflare.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Name\/Host\/Alias<\/th><th>TTL*<\/th><th>Record Type<\/th><th>Value\/Answer\/Destination<\/th><\/tr><tr><td>mautic.mydomain.com<\/td><td>3600<\/td><td>CNAME<\/td><td>5d486aa201472.powertic.ca<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Remembering we offer your Mautic URL on our Mautic listing page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"421\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/Annotation-on-2019-10-29-at-14-46-06-1024x421-1.png\" alt=\"\" class=\"wp-image-60698\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/Annotation-on-2019-10-29-at-14-46-06-1024x421-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/Annotation-on-2019-10-29-at-14-46-06-1024x421-1-300x123.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/Annotation-on-2019-10-29-at-14-46-06-1024x421-1-768x316.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/Annotation-on-2019-10-29-at-14-46-06-1024x421-1-624x257.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/Annotation-on-2019-10-29-at-14-46-06-1024x421-1-600x247.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After adding the CNAME record in the DNS zone of your domain you need to access the Portainer and also adjust the values \u200b\u200bof VIRTUAL_HOST and LETSENCRYPT_HOST in the ENV tab of the Mautic container.<\/p>\n\n\n\n<p>Here's a step by step:<\/p>\n\n\n\n<p>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). <\/p>\n\n\n\n<p>To find the login data access <a href=\"https:\/\/powertic.com\/en\/mautics\/\">powertic.com\/en\/mautics<\/a>, select &#8220;Installation Instructions&#8221;, on the screen that opens scroll down the page until you see &#8220;Access to Portainer&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost1-1024x552-1.png\" alt=\"\" class=\"wp-image-60700\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost1-1024x552-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost1-1024x552-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost1-1024x552-1-768x414.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost1-1024x552-1-624x336.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost1-1024x552-1-600x323.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>1.5) Select &#8220;location&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"580\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/docker-1024x580-1.jpg\" alt=\"\" class=\"wp-image-60702\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/docker-1024x580-1.jpg 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/docker-1024x580-1-300x170.jpg 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/docker-1024x580-1-768x435.jpg 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/docker-1024x580-1-624x353.jpg 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/docker-1024x580-1-600x340.jpg 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>2) Select the &#8220;local&#8221; endpoint<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost2-1-1024x552-1.png\" alt=\"\" class=\"wp-image-60704\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost2-1-1024x552-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost2-1-1024x552-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost2-1-1024x552-1-768x414.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost2-1-1024x552-1-624x336.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost2-1-1024x552-1-600x323.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3) On Dashboard select &#8220;Containers&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost3-1-1024x552-1.png\" alt=\"\" class=\"wp-image-60706\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost3-1-1024x552-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost3-1-1024x552-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost3-1-1024x552-1-768x414.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost3-1-1024x552-1-624x336.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost3-1-1024x552-1-600x323.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4) On the page that lists the containers, select the one that corresponds to Mautic<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"553\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost4-1024x553-1.png\" alt=\"\" class=\"wp-image-60708\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost4-1024x553-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost4-1024x553-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost4-1024x553-1-768x415.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost4-1024x553-1-624x337.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost4-1024x553-1-600x324.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>5) On container select &#8220;Duplicate \/ Edit&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost5-1024x552-1.png\" alt=\"\" class=\"wp-image-60712\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost5-1024x552-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost5-1024x552-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost5-1024x552-1-768x414.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost5-1024x552-1-624x336.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost5-1024x552-1-600x323.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>6) Scroll down the screen and select the &#8220;ENV&#8221; tab<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost6-1024x552-1.png\" alt=\"\" class=\"wp-image-60714\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost6-1024x552-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost6-1024x552-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost6-1024x552-1-768x414.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost6-1024x552-1-624x336.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost6-1024x552-1-600x323.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>7) In VIRTUAL_HOST and LETSENCRYPT_HOST lines, fill in the values \u200b\u200bwith the subdomain without https:\/\/ (eg: mautic.mydomain.com), then select &#8220;Deploy the container&#8221; and in the pop up that appears select &#8220;Replace&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"553\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost7-1024x553-1.png\" alt=\"\" class=\"wp-image-60716\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost7-1024x553-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost7-1024x553-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost7-1024x553-1-768x415.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost7-1024x553-1-624x337.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost7-1024x553-1-600x324.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>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<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost8-1024x552-1.png\" alt=\"\" class=\"wp-image-60718\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost8-1024x552-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost8-1024x552-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost8-1024x552-1-768x414.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost8-1024x552-1-624x336.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost8-1024x552-1-600x323.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>9) Open the settings<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"553\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost9-1024x553-1.png\" alt=\"\" class=\"wp-image-60720\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost9-1024x553-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost9-1024x553-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost9-1024x553-1-768x415.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost9-1024x553-1-624x337.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost9-1024x553-1-600x324.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>10) In general settings, enter the subdomain with https: \/\/ (eg https:\/\/mautic.mydomain.com) and click to save<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost10-1024x552-1.png\" alt=\"\" class=\"wp-image-60722\" title=\"\" srcset=\"https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost10-1024x552-1.png 1024w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost10-1024x552-1-300x162.png 300w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost10-1024x552-1-768x414.png 768w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost10-1024x552-1-624x336.png 624w,  https:\/\/powertic.com\/wp-content\/uploads\/2020\/08\/virtualhost10-1024x552-1-600x323.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><br>By following these steps you will ensure the correct functioning of your Mautic in your preferred subdomain.<\/p>\n\n\n\n<p>In case does not work, call us on our web chat at the bottom of the page.<\/p>","protected":false},"excerpt":{"rendered":"<p>Powertic offers a temporary address, but you can change the Mautic URL to your own subdomain by adding a CNAME record in your domain&#8217;s DNS&hellip;<\/p>","protected":false},"author":1156,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[],"kbtag":[],"class_list":["post-60696","kb","type-kb","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/kb\/60696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/users\/1156"}],"replies":[{"embeddable":true,"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/comments?post=60696"}],"version-history":[{"count":0,"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/kb\/60696\/revisions"}],"wp:attachment":[{"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/media?parent=60696"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/kbtopic?post=60696"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/powertic.com\/pt-br\/wp-json\/wp\/v2\/kbtag?post=60696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}