Skip to content
InMotion Hosting Logo InMotion Hosting Home
  • Chat Now Start a Live Chat
  • Call Us
    +1 757 416 6575
    +44 2045 763722
  •   Guides
  • Visit Our Support Center
  • 0 Cart
  • Live Chat
  • AMP Login
  • Support Center
  • Shopping Cart 0
Main Menu
  • Web Hosting
    Shared Hosting Fast, Reliable & Secure
    Reseller Hosting White-label cPanel/WHM for Resellers
    Domains Find The Perfect Domain Name
    View All Web Hosting Plans
  • WordPress
    Hosting for WordPress Classic Hosting with Email and cPanel Included
    UltraStack ONE for WordPress Superior Speed for Mission-Critical Sites
    VPS Hosting for WordPress Optimized Servers with Flexible Control
    WordPress Logo
    Managed Services for WordPress Dedicated Support from WordPress Experts
    WooCommerce Hosting
    WooCommerce Hosting Engineered for Performance and Security
  • VPS Hosting
  • Dedicated Servers
    Managed Dedicated Servers Protect Your Business with Secure, Scalable Infrastructure
    Enterprise Hosting Solutions Custom Bare Metal Solutions for Your Unique Workloads
  • Website Services NEW
    Managed Hosting
    Server Management Strategic SysAdmin Support & Custom Solutions
    Managed Services for WordPress Fully Managed WordPress on Fast and Secure Infrastructure
    Web Design Services
    Custom Website Design Stand Out with a Custom Design for Your Brand
    QuickSite Quality Websites Designed from Premium Templates
    Website Rebuild Modernize Your Legacy Site for Performance and Growth
    View All Website Services
    Maintenance Services
    Maintenance Plans Keep Your WordPress Site Running Smoothly
    SEO Services Get Found, Grow Traffic, Rank Better
    Speed Optimization Improve Load Time and Performance
    Hacked Site Repair Expert Malware Removal and Website Restoration
  • Company
    About Us
    Data Centers
    Managed Hosting
    Affiliate Program
    Contact Us
    Resources
    Blog
  • Start a Live Chat
  • +1 757 416 6575
  • +44 2045 763722
  • +1 757 416 6575
    +44 2045 763722
  • Visit Our Support Center
  • 0 Cart
Login
Support Center
    • Product Guides
      Backup ManagerShared HostingManaged VPS HostingCloud Server HostingDedicated HostingReseller HostingWordPress HostingInMotion CentralSprout InvoicesSoftaculousWebProweForms
    • Knowledge Base
      Account Management PanelBackups and RestorationsDatabasesDomain NamesEmailGitGoogle WorkspaceHacked WebsitesNGINXPHP-FPMSearch Engine OptimizationSecurityServer TechnologiesSSH and Root AccessSSL CertificatesWebsiteWebsite Error Numbers
    • Education Channels
      AndroidAnsibleApacheBoldGridControl Web PanelcPanelCyberPanelDiscordDrupalHubSpotiPhoneJoomla 4Live BroadcastingMagentoMoodleOpenCartPrestashopWebHost Manager (WHM)WooCommerceWordPress
    • Tools & Resources
      What is My IP AddressBlacklist CheckBounce Back ParserDomain CheckerEmail ConfigurationVisual DNS LookupFree Favicon Generator
    • Community
    • Blog
  • Community
  • Blog
  1. InMotion Hosting Home
  2. Support
  3. Education Channels
  4. Control Web Panel
  5. CWP User
  6. User and Account Management
  7. DNS Records in Control Web Panel (CWP)

DNS Records in Control Web Panel (CWP)

Updated on June 4, 2024 by InMotion Hosting Contributor

5 Minutes, 40 Seconds to Read

DNS Records in Control Web Panel (CWP)

The Domain Name System (DNS) connects websites and email services to a domain. DNS is responsible for the ability to view a website using a domain registered with another web hosting provider. For a successful domain transfer or registration, you need to know the primary nameserver (NS) records and/or the IP address for the server hosting the website (A record) to use your domain properly. The same applies to mail exchange (MX) records for using a custom domain with Google Mail, ProtonMail, and other email providers.

Below we’ll cover how to edit DNS records and add a DNS zone for a new domain in Control Web Panel (CWP).

  • Edit DNS Records in Control Web Panel
    • Add New DNS Records
    • User Defined Records
  • Add a DNS Zone
    • Advanced CWP DNS Setup

Edit DNS Records in Control Web Panel

This section covers how to modify DNS records for where domains and subdomains point to in CWP.

  1. Log into CWP.
  2. Select List DNS Zones.
  3. Find your domain from the list and select Edit Records.

The top section is dedicated to the Start of Authority (SOA) record parameters. Think of the SOA record for a domain as a serial number marking each time its DNS settings change. It updates automatically as other DNS records for the domain are changed. Other than updating the contact email address, the SOA record is usually only modified as a last resort when dealing with DNS propagation issues since it doesn’t affect whether domain can connect to a server or external service.

SOA Parameters in Control Web Panel (CWP)

An SOA record consists of the following:

ParameterExample
MNAME (Master Name) / Primary nameserver (NS) recordns1.inmotionhosting.com
RNAME (Responsible Name) / Domain owner email addressadmin\.devsite.example.org
Actual serial number within the SOA record(YYYYMMDD##) (cannot be edited in the CWP dashboard)2022041102
Refresh rate in seconds86400
Retry rate for failed requests in seconds7200
Expiration if requests continue to fail in seconds3600000
TTL (time to live) in cache in seconds86400

You can view your full SOA record in the CWP terminal with the following command:

dig soa yourdomain.com

Add New DNS Records

Underneath the SOA record is the option to add new records for your domain:

  • A
  • AAAA
  • AFSDB
  • CNAME
  • DNAME
  • HINFO
  • MX
  • NS
  • PTR
  • RP
  • SRV
  • TLSA
  • TXT
  • CAA

We’ll briefly describe how to add the most common DNS record types.

A record: the DNS record primarily responsible for converting a domain to the IPv4 address for a website or application. This usually uses the same IP address as the server unless the site is on another server (e.g. website migrations).

Add an A record in Control Web Panel (CWP)
Record Name“@” for the main domain,
Subdomain (e.g. “sub1” for “sub1.example.com”), orFull domain for additional domains
TTL (in seconds)The most common entries are “86400” (1 day), “14400” (4 hours), and “3600” (1 hour)
Direction IPv4 addressServer IP address of the domain 

MX record: the DNS record that routes email communications through the authoritative mail server. Again, this record normally shares the hostname with the CWP server unless you’re using an external service for email communications such as Google Mail.

Add MX record in Control Web Panel (CWP)
Record Name“@” for the domain
TTLNormally “0” so that DNS changes propagate as soon as possible or “3600”
Mail server priorityNormally “0” while secondary MX records, if used, are normally added in intervals of “10”

The MX record with the lowest number gets priority
Mail server hostnameServer hostname or website for email service

As an example, this is how you would add Google Workspace MX records to a domain:

Record NameTTLMail server priorityMail server hostname
@36000ASPMX.L.GOOGLE.COM
@36005ALT1.ASPMX.L.GOOGLE.COM
@36005ALT2.ASPMX.L.GOOGLE.COM
@360010ALT3.ASPMX.L.GOOGLE.COM
@360010ALT4.ASPMX.L.GOOGLE.COM

Don’t forget to delete any other MX records for the domain.

TXT record: a general DNS record commonly used for email authentication and domain ownership verification methods:

  • DomainKeys Identified Mail (DKIM)
  • Sender Policy Framework (SPF)
  • Domain ownership verification to integrate external services (e.g. Zoho and Google Workspace)
  • Domain-based Message Authentication, Reporting & Conformance (DMARC)
  • Brand Indicators for Message Identification (BIMI)
Add TXT record in Control Web Panel (CWP)
Strong DMARC record
Record Name“@” for the main domain orSubdomain (e.g. “sub1” for “sub1.example.com”)
TTLUsually “3600”
Text recordDNS query surrounded by quotation marks (“”) – e.g. a DMARC record to reject emails sent from your domain that fail SPF validation:
“v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ri=86400”

Learn more in-depth about DNS records.

Basic DMARC and SPF records are created for each domain by default to mitigate email spoofing. SPF states what server IPs should be sending email from that domain. It also states how strictly email providers should reject emails marked from that domain but a different IP not stated in the SPF record. For example:

v=spf1 +a +mx +ip4:1.2.3.4 -all

This SPF record states that any email not sent from the domain and the system IP of “1.2.3.4” should be rejected outright.

DMARC reinforces that any mail that fails SPF validation be rejected in the case that an email provider doesn’t comply with SPF. Here’s a DMARC record that quarantines email supposedly sent from your domain that fails SPF validation and sends an email notification:

v=DMARC1; p=quarantine; sp=none; ruf=mailto:[email protected]; rf=afrf; pct=100; ri=86400

We recommend you learn more about how to create a SPF record strong enough to secure your email server environment.

User Defined Records

At the bottom the “User Defined Records” section lists all DNS records for the domain. You should review this list after creating a DNS zone to ensure the records suit your needs, or edit them from here. If you decide to change the email provider for a domain or redirect a subdomain to an external platform like Blogger, this is where you’ll make DNS changes. Remember, you cannot access this section unless the domain has a DNS zone.

DNS records in Control Web Panel (CWP)
Add a DNS Zone in Control Web Panel (CWP)

Add a DNS Zone

The Add DNS Zone sidebar option is where you add a domain that only needs DNS management and/or email hosting. This is different from the Add Domain feature which should be used to connect to a website or application. Adding a DNS zone for a domain doesn’t create a root directory for files.

Add the IP address (for the A record), domain, and admin email address. Then the domain will be listed with other DNS zones as shown above.

Advanced CWP DNS Setup

The Edit DNS config sidebar function operates as a shortcut to quickly access your BIND configuration file (/etc/named.conf). This could prove helpful should you decide to implement system-wide changes such as DNS Security Extensions (DNSSEC) on a BIND DNS server.

Free DNS Manager is available in the sidebar for integration. However, it is unnecessary for cloud server administrators as you can use the DNS zone editor covered above or Account Management Panel (AMP).

Learn more about CWP management.

Make sure your business, agency, or reseller clients are always connected and powered on with our optimized Managed VPS Hosting.
InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting
Related Articles
DNS Records in Control Web Panel (CWP)
Notification Center in CWP User Panel
Mod Security Configuration in CWP User Panel
Domains and Subdomains in Control Web Panel (CWP)
Control Web Panel (CWP) FTP Accounts

Post navigation

How To Create a Hero Block In WordPress
How to Clear Your Browser Cache for Major Browsers
New! MailChannels
Questions about our MailChannels Deployment? We have answers and are here to help! Learn More
Latest Support Articles
  • How to Run & Read a Traceroute
  • Complete Guide to WordPress Widgets: How to Add, Customize, and Manage
  • How to Import a Table using phpMyAdmin
  • Email Error – Mailbox Quota Exceeded
  • Cleaning Up Old Post Metadata in WordPress
  • How to Create an Email Account in InMotion Central
  • InMotion Central for Advanced Users
  • How to Create a New Project With InMotion Central
  • Cache Manager for cPanel
  • How to Optimize your WordPress Database with WP-Optimize Settings
  • How to Add mod_expires to your .htaccess
  • Important Update: Changes to How You Submit Technical Support Tickets
  • How to Become the MailChannels Domain Administrator
Control Panels
  • Account Management Panel
  • cPanel
  • Control Web Panel
  • CyberPanel
  • InMotion Central
  • Softaculous
  • WebHost Manager (WHM)
  • WebPro
Popular Tutorials
  • Backups and Restorations
  • Databases
  • DNS and Nameserver Changes
  • eCommerce
  • Email Basics
  • Git
  • Google Tools
  • Hosting Product Guides
  • NGINX
  • Secure Socket Layer (SSL)
  • Security
  • SSH and Root Access
  • Website Error Numbers
  • WordPress
  • WooCommerce

Need More Help?

Search our Help Articles
Current Customers

Chat: Chat with Sales
Call: 757-416-6575 x2
Ticket: Submit a Support Ticket

Get Reliable Web Hosting

Chat: Chat with Sales
Email: [email protected]
Call: 757-416-6575 x1

Get web hosting that grows with your business. Our all-in-one hosting platform gives you everything your website needs to scale - so you can focus on the next big thing for you and your business.

InMotion Hosting Logo

InMotionHosting.com provides web hosting, cloud-based solutions and managed services to businesses and entrepreneurs across the globe.

Follow Us

Web Hosting
  • Shared Hosting
  • Hosting for WordPress
  • Managed WordPress
  • UltraStack ONE for WordPress
  • VPS Hosting
  • Cloud VPS
  • Dedicated Server Hosting
  • Bare Metal Servers
  • Enterprise Hosting Solutions
  • OpenMetal Cloud IaaS
  • Reseller Hosting
  • Reseller VPS
  • Minecraft Server Hosting
  • eCommerce Hosting
Hosting Tools
  • WordPress
  • WooCommerce Hosting
  • Drupal Hosting
  • Joomla Hosting
  • cPanel Hosting
  • PHP Hosting
  • Magento Hosting
  • PrestaShop Hosting
  • Laravel Hosting
  • Ubuntu Hosting
  • Linux Hosting
  • WebPro Dashboard
  • WordPress Website Builder
  • Domain Names
Support
  • Live Chat
  • +1 757 416 6575
  • +44 2045 763722
  • Support Center
  • Resources
  • Community Support
  • WordPress Tutorials
  • InMotion Solutions
  • Managed Hosting
  • Website Transfers
  • Data Center Locations
  • Los Angeles Data Center
  • Ashburn Data Center
  • Amsterdam Data Center
About Us
  • Contact Us
  • About Us
  • Blog
  • News
  • Careers
  • Affiliate Program
  • Refer a Friend
  • Student Web Hosting
  • Sitemap
  • Cookies Settings
  • Accessibility (ADA) Settings

Copyright © 2002-2025 InMotion Hosting, Inc. All Rights Reserved. InMotion Hosting® is a registered trademark of InMotion Hosting, Inc.

Terms of Service | Privacy Policy | DPA | Accessibility Statement | Legal Inquiries
Do Not Sell My Personal Information | Limit Use of My Sensitive Personal Information

By using this website or chat features, you signify that you agree to be bound by these Universal Terms of Service