{"id":26583,"date":"2025-07-21T15:14:38","date_gmt":"2025-07-21T15:14:38","guid":{"rendered":"https:\/\/sdominio.com\/?docs=sdominio_wiki\/get-started\/setup-dns-for-your-domain"},"modified":"2025-07-22T17:14:17","modified_gmt":"2025-07-22T17:14:17","slug":"setup-dns-for-your-domain","status":"publish","type":"docs","link":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/?docs=sdominio_wiki\/get-started\/setup-dns-for-your-domain","title":{"rendered":"Setup DNS for your domain"},"content":{"rendered":"<p><strong>STEP 3: Setup the DNS for your domain<\/strong><\/p>\n<p>The next step is to specify to the Internet how to process the email for your domain name \u2013 on which servers the mailbox is located and which servers are allowed to send emails on behalf of your domain name.<\/p>\n<p>To change the DNS, you should log in to your domain registrar or your domain hosting provider, as they are the ones who manage your nameservers. You\u00a0will only add or change the necessary records for the email to work properly; this means you can host your website with another provider.<\/p>\n<p>These are the DNS records you need to have a functional email service:<\/p>\n<ol>\n<li><strong>MX records<\/strong><\/li>\n<\/ol>\n<p>These are the DNS records that tell the Internet on which servers your mailbox resides. You will need to point them to our servers. You should first remove all other MX records and then add the following, with the specified preference:<\/p>\n<table style=\"height: 168px;\" width=\"644\">\n<tbody>\n<tr>\n<td width=\"64\"><strong>Type<\/strong><\/td>\n<td width=\"63\"><strong>Host<\/strong><\/td>\n<td width=\"165\"><strong>Points to<\/strong><\/td>\n<td width=\"186\"><strong>Priority \/ Preference<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"64\">MX<\/td>\n<td width=\"63\">@<\/td>\n<td width=\"165\">mx.sdominio.com<\/td>\n<td width=\"186\">5<\/td>\n<\/tr>\n<tr>\n<td width=\"64\">MX<\/td>\n<td width=\"63\">@<\/td>\n<td width=\"165\">mx2.sdominio.com<\/td>\n<td width=\"186\">10<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol start=\"2\">\n<li><strong>Webmail Record<\/strong><\/li>\n<\/ol>\n<p>To access your webmail using a custom URL, you must configure CNAME records within your domain for the webmail host.<\/p>\n<p>You must create:<\/p>\n<table style=\"height: 167px;\" width=\"706\">\n<tbody>\n<tr>\n<td width=\"156\"><strong>Type<\/strong><\/td>\n<td width=\"156\"><strong>Host<\/strong><\/td>\n<td width=\"156\"><strong>Points to<\/strong><\/td>\n<td width=\"156\"><strong>Your Webmail URL will be<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"156\">CNAME<\/td>\n<td width=\"156\">webmail<\/td>\n<td width=\"156\">webredirect.sdominio.com<\/td>\n<td width=\"156\">webmail.&lt;yourdomain.com&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<ol start=\"3\">\n<li><strong>SPF Record<\/strong><\/li>\n<\/ol>\n<p><strong>\u00a0<\/strong>The SPF record is necessary, so your e-mail is not marked as Spam. The SPF will help with your e-mail deliverability because it\u00a0specifies a list of authorized hosts that can send e-mails on behalf of a domain.<\/p>\n<p>First, check for any existing TXT records with SPF.<\/p>\n<p><u>If you don&#8217;t have an existing SPF record<\/u>, you must add a\u00a0<strong>TXT record<\/strong>\u00a0with the following\u00a0<strong>value\u00a0<\/strong>(the host value is usually &#8216;@&#8217;):<\/p>\n<table width=\"631\">\n<tbody>\n<tr>\n<td width=\"66\"><strong>Type<\/strong><\/td>\n<td width=\"64\"><strong>Host<\/strong><\/td>\n<td width=\"500\"><strong>TXT Value<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"66\"><strong>TXT<\/strong><\/td>\n<td width=\"64\"><strong>@<\/strong><\/td>\n<td width=\"500\"><strong>v=spf1 include:emailarray.com include: sdominio.com -all<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><u>If you have an SPF record<\/u>, you should edit it and insert before the final\u00a0<strong><em>-all<\/em><\/strong>directive, the following value:\u00a0<strong>include:mydomain.com<\/strong><\/p>\n<ol start=\"4\">\n<li><strong>DKIM Records<\/strong><\/li>\n<\/ol>\n<p>To improve e-mail deliverability, you should enable DKIM for your domain from your\u00a0<a href=\"https:\/\/admin.sdominio.com\/\">Admin Panel<\/a>\u00a0and then add the records to your DNS.<\/p>\n<p><strong>DKIM\u00a0<\/strong>is an e-mail authentication method designed to detect forged sender addresses in e-mails, a technique often used in phishing and e-mail spam (<a href=\"https:\/\/en.wikipedia.org\/wiki\/DomainKeys_Identified_Mail\">Wikipedia<\/a>).<\/p>\n<p>To enable DKIM for your domain:<\/p>\n<ul>\n<li>Go to the\u00a0<a href=\"https:\/\/admin.sdominio.com\/\">Admin Panel<\/a><\/li>\n<li>Log in using your Admin username and password.<\/li>\n<li>Click on\u00a0<strong>Domains<\/strong>\u00a0in the menu.<\/li>\n<li>Click on the\u00a0<strong>DKIM icon<\/strong>\u00a0next to the domain you wish to activate DKIM for<\/li>\n<li>In the new window, switch the\u00a0<strong>Enable<\/strong>\u00a0option to\u00a0<strong>Yes<\/strong>. This will generate your DKIM record.<\/li>\n<li>Update your DNS to include the generated DKIM record as\u00a0<strong>TXT record<\/strong>(use the\u00a0<strong>Host<\/strong>\u00a0value for Host and the\u00a0<strong>Key<\/strong>\u00a0value for TXT Value).<\/li>\n<li>Note it might take some time to propagate in the DNS.<\/li>\n<\/ul>\n<ol start=\"5\">\n<li><strong>Autodiscover Records<\/strong><\/li>\n<\/ol>\n<p>To simplify the configuration on some desktop &amp; mobile e-mail clients, you should use the Autodiscover web service record to configure these clients automatically. You have to add an *A* record in the DNS for your domain:<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"231\"><strong>A record hostname<\/strong><\/td>\n<td width=\"312\"><strong>Points o<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"231\">autodiscover.&lt;yourdomain.com&gt;<\/td>\n<td width=\"312\">69.28.212.195<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>STEP 3: Setup the DNS for your domain The next step is to specify to the Internet how to process the email for your domain name \u2013 on which servers the mailbox is located and which servers are allowed to send emails on behalf of your domain name. To change the DNS, you should log [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":26573,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"doc_badge":[],"class_list":["post-26583","docs","type-docs","status-publish","hentry"],"author_avatar":"https:\/\/secure.gravatar.com\/avatar\/6d72166a6ad5436b401d2b35e459e75c87af1673ac4d7bf14f41e107cf22ead1?s=96&d=mm&r=g","author_name":"@sDominio","_links":{"self":[{"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=\/wp\/v2\/docs\/26583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=26583"}],"version-history":[{"count":3,"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=\/wp\/v2\/docs\/26583\/revisions"}],"predecessor-version":[{"id":26718,"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=\/wp\/v2\/docs\/26583\/revisions\/26718"}],"up":[{"embeddable":true,"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=\/wp\/v2\/docs\/26573"}],"wp:attachment":[{"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26583"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=26583"},{"taxonomy":"doc_badge","embeddable":true,"href":"https:\/\/c18c071a-4639-4624-b94b-6aa80606de40.live.hostpreview.site\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_badge&post=26583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}