My domain registrar and my hosting provider are not the same company.

On my shared hosting environment with CentOS, Bash, Apache, PHP and MySQL I host an all core MediaWiki website with a CMS-agnostic backend-fronted contact form I have developed.

  • Large, widely used, gratis email boxes such as Baidu, Hotmail, Gmail, Yandex and others are likely to filter my contact form emails due to lack of (?) or insufficient configuration of (?) DKIM/SPF DNS records in my hosting environment and the lack of proper MTA configuration for SMTP authentication against these email boxes.
    Such filtering can be so harsh that emails can take hours to reach my Gmail inbox, if at all they reach there (which is extremely rare) but normally they wouldn't arrive at all, neither to inbox directory nor to spam directory.

  • Local email box on the server environment's domain shouldn't generally filter my contact form emails due to a match between my hosting environment domain and my website domain via proper MTA configuration to allow SMTP authentication, even though my shared-hosting partition lacks DKIM/SPF DNS records.

  • But, I am not sure I want to host my emails on a website hosting company database at all because if I move to another hosting company it might be a pain to migrate emails to the new hosting.

So, I was thinking about hosting my emails on an email box I could rent from my domain registrar which I find finely priced and an elegant solution to my problem about hosting my contact form emails on my hosting provider's end (possible migration troubles in the future) and to my other problem about sending my contact form emails to large, widely used, gratis email boxes.

If I would rent an email box from my domain registrar, should I still encounter a filtering problem similar to the one I encounter with large, widely used, gratis email boxes?

  • To sum it all up: I know its standard to host emails on the same environment of a website, so the receiver and the sender would be the same entity, but if I host emails on my domain registrar itself, can this be similar to host them on my own website hosting environment?
    – timesharer
    Commented Mar 24, 2021 at 5:04
  • 1
    The important thing is to have SPF set up properly in DNS.
    – Steve
    Commented Mar 24, 2021 at 6:03
  • @Steve given that my hosting plan is shared hosting, I cannot control that ; I am totally under the policy and development of my hosting provider --- My hosting provider is SiteGround, which is a widely used, well venerated hosting company, would you assume they wouldn't have at least SPF for shared hosting partitions? (I don't know).
    – timesharer
    Commented Mar 24, 2021 at 6:13
  • 1
    You should have access to DNS even on shared hosting. If you are using cpanel, look for the zone editor. The important thing is to have an SPF record that includes the IP address or an include URL from the server which is sending the email, irrespective of where DNS is located.
    – Steve
    Commented Mar 24, 2021 at 6:22
  • @Steve thanks ; given that IPs can change (although rare and can happen once in 3 years) I prefer not to deal with this at all; I need something even more stable; if a domain registrar email box would also require me to setup SPF than I think I should just stick with hosting emails on my hosting company email program and ask a new question Is migrating emails from one hosting company to another can be painful?
    – timesharer
    Commented Mar 24, 2021 at 6:39