How to Set DNS Up For Web Hosting

Last Updated on 

October 3, 2024

 by 

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 yourexample.com <Your Web Server IP Address>
MX yourexample.com yourmailserver.com:10

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 *

Article Overview

Topics Discussed

Share This Article

Share
Tweet
Share
Email

We're Ready To Work With YOU.

Our team is passionate about the webi

Feel free to reach out to our team for any inquiries regarding web design services, consultations, or project collaborations.

Select A Portal

FTG Hosting

portal.fallstech.group

Access your hosting portal to make changes to your website, domain, or manage your billing.

FTG Marketplace

www.fallstech.group

Download pre-built website kits, plugin files, or manage subscriptions to our educational courses.

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

Black Friday is Here!

Get 50% Off Your Web Hosting Account + MORE