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

Primary DNS server

We have already talked about what is DNS and what is a Secondary DNS, this time we will focus on the Primary DNS server. There is a DNS hierarchy in which the Primary DNS server is taking the central spot. It has the latest and full information, in comparison with lower level DNS servers who has just a cache of this information and with an expiry period.
Primary DNS

Continue reading “Primary DNS server”

What is a DNS zone? Master and Slave DNS zone and how to create it

Do you know the difference between a Master (Primary) and a Slave (Secondary) DNS zone?

 

DNS zone

 

What is a DNS zone

First, let us explain what a DNS zone is. DNS zone is a container of DNS settings and DNS records of a DNS namespace. The DNS namespace can have single or multiple DNS zones, each managed by a particular DNS host/service. This division helps for the administrative purposes. It is like an enormous pie, each piece of it allows better separation of the administrative load and helps with redundancy.

Don’t directly associate a DNS zone with a specific domain. A DNS zone may contain multiple domain names or a single one; the important thing is that it is used for controlling a fraction of the namespace. DNS zones can be on the same servers too.

Continue reading “What is a DNS zone? Master and Slave DNS zone and how to create it”

What is Secondary DNS?

We have already talked what is a DNS server or name server as it is also known. It is a complicated system that translates what we write (the domain name and address of a website that we desire) to IP addresses that computers and servers can understand.

Any DNS can be programmed to be primary (master) or secondary (slave), depends on the needs of the system as a whole. You can even have a primary DNS server that is secondary for another zone.

So what is the difference?

The hierarchy. The primary is the main one, and the secondary gets the DNS records from the primary. There are few different configurations of connecting the secondary that we would show you in a bit, but first, we want to explain to you why you need a secondary DNS.
If it does the same, why do you need it?

Continue reading “What is Secondary DNS?”