How to set up a new DNS zone for your WordPress site

We will show you two different ways to set up a new DNS zone for WordPress, depending on if your site was created and hosted through WordPress.com or you have a hosting with a cPanel. We will show you a step-by-step guide for the two options.

In this example, we assume you bought a domain from Cloudns.net, and you are having one of our DNS plans. If that is not the case, the steps will be similar, but not the same. 

Set up a DNS zone for sites hosted on WordPress.com

1. Go to https://wordpress.com/ and follow the process to create a web site. Register and log in. 

2. Then choose the type of website, from the options, you would like to have.

WordPress.com set up site

3. Depending on the purpose of it, type a corresponding keyword, or a name you like.

4. Go for the free domain. You will be using the other domain name that you have already bought from us. In this example, the domain we will use is ricki.sx 

WordPress.com choose domain name

5. Go to Cloudns.net and log in to your profile. Create a Master DNS Zone file. The Master Zone will let you write and read onto the DNS database. 

To create it you must click on DNS zones and then select Master Zone option. Put just the domain name that you bought (without www. Or http://). 

Now you have created the DNS zone for WordPress, and it is time to put DNS records.

Set up Master DNS zone

6. We will add a CNAME record that will redirect to where your site is hosted. The CNAME is a canonical record. It serves to show that one domain is an alias for another one. 

We will point the blog (blog.ricki.sx) to the domain (myburst.photo.blog) that was given from WordPress.com. 

Create a CNAME record

7. Then we will create a permanent redirect (301 redirect) that will map the ricki.sx to http://blog.ricki.sx and another for the www subdomain (www.ricki.sx) to the same. 

Create a 301 redirect
Create a 301 redirect for www. subdomain

8. The final action, we want to do, is to edit the redirects and add “Redirect with frame.” This will make your visitors see just the redirected domain and not the original. 

301 redirect with frame

Ready.

Check our Premium DNS plans here!

Set up a DNS zone for WordPress site on hosting with cPanel.

1. Go to your hosting account and log in. Write down the IP address. You will need it in step 6.  

cPanel create DNS zone

2. Enter the cPanel and click on the Addon Domains. Addon Domains let you control more than 1 domain for your hosting.

3. Now create an Addon Domain with the new domain name rick.sx and subdomain www. 

Addon Domain cPanel

4. Go to your Cloudns.net and log in. 

5. Create a Master Zone, so later you can add DNS records. 

6. Create two A records. The first to direct from ricki.sx to the IP of the hosting (that one you wrote down back in step 1), and the second to direct from the www.ricki.sx to the same IP.  

Create A record

Ready!

You can find more interesting articles on our blog.

DNS Troubleshooting – tools and commands

Summary
How to set up a new DNS zone for your WordPress site
Article Name
How to set up a new DNS zone for your WordPress site
Description
We will show you two different ways to set up a new DNS zone for WordPress, depending on if your site was created and hosted through WordPress.com or you have a hosting with a cPanel.
Author
Publisher Name
ClouDNS.net
Enjoy this article? Don't forget to share.

One Reply to “How to set up a new DNS zone for your WordPress site”

  1. Hello Martin, 
    Thanks for your explanation on how to set up a new DNS zone for a WordPress site through your informative article. I will look forward to making the best use of this informative guide for the WordPress projects further.

Leave a Reply

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