The Summer Savings Have ARRIVED – Get Up to 60% Off Our Managed WordPress Hosting

Trying to figure out where to start?

We can help with every step of the process.

Get a beautifully designed WordPress website.

High Performance, WordPress Optimized, Backed by Humans.

Manage your domain with FREE ID Protection.

How to Set DNS Up For Web Hosting

Last Updated on 

March 3, 2024


Ryan T. M. Reiffenberger

Setting up DNS for web hosting is usually a pretty simple process as most providers will pre-generate records for you ahead of time to get you started; but what if you want to migrate your DNS into your own provider and can’t import your data? Where do you start?

This guide is here to help you get your DNS records situated and in place to get your hosting, email, and basic functionality online. This guide will not include all types of DNS records, but the ones we recommend you investigate to get your web hosting set up.

Primary Records

There are several primary records that you will want to worry about when setting up your DNS routing. These records control where traffic is directed and how visitors reach different services on your domain.

  • A Records – Your A records will control where your domain resolves to. In most cases, you will want to create an A record that points to your web hosting server.
  • AAAA Records – Your AAAA records will also control where your domain resolves to, but controls things from an IPv6 standpoint. These will almost always be pointed to your web hosting server.
  • CNAME Records – Your CNAME records will typically be domain aliases that will point to outside services, or redirect to an A record on your account. A great example is your WWW record, which points either towards your main web server or towards your CDN (Content Delivery Network) services.
  • MX Records – Your MX records will tell visitors where email will be directed in your network. These records are required for any mail handling on your domain.

So which records are required? We recommend that you create at bare minimum one A record that will to your web server and get your web services online. Additionally, you should have at least one MX record that points to your email services.

Example Records

Record Type Name Value
A <Your Web Server IP Address>

Secondary Records

Secondary records will typically control HOW traffic behaves on your site. These records will control decision making and validation in your configuration and in many cases are responsible for validating your identity to other providers.

  • SPF Records (TXT) – Your SPF Record (in TXT format) is what what controls your email sending permissions. This record contains all of the information necessary for outside domains and services to know who has authorization to send email on your behalf, whether it be servers, services, or domains.
  • DKIM Records – DomainKeys Identified Mail (DKIM) is a method of email authentication that helps prevent spammers and other malicious parties from impersonating a legitimate domain.
  • DMARC Records – DMARC, which stands for Domain-based Message Authentication, Reporting, and Conformance, is a DNS TXT Record that can be published for a domain to control what happens if a message fails authentication

So which records are required? We recommend that you create at least one SPF record for your domain if you have MX Records. If you are concerned about security, you should consider setting up DMARC and DKIM.

Need Some Help With Your Website?

We offer free consultations on any projects, as well as guidance and advice if you need help moving in the right direction. Drop us a line – we’d love to chat!

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission.

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents

Choose Your Destination



Please Note: These buttons may take you away from ( to another location on our infrastructure. You will be redirected upon click.

Want Periodic Guidance Delivered To Your Inbox?

Sign Up For FREE Updates To Our Blog as we release articles to ensure you’re up to date on the latest WordPress guides.

We never sell or share your information. Less than 2 emails sent per month.
By signing up you agree to our Privacy Policy.