Configuring DNS For A Domain With Plesk

Configuring DNS with Plesk

DNS stands for Domain Name System and it’s a naming system arranged in a tree-like fashion that turns human-readable domain names into the strings of numbers known as IP addresses that identify web resources. This kind of translation is known as resolving. When adding a domain name (with Websites & Domains > Add Domain), look no further than Plesk to handle resolution duties for your resources. It’s capable of performing three very useful roles:

  • acting as a backup server
  • directly processing translation requests
  • handing them on to a remote server

The backup server role can be changed for existing domain names (Websites & Domains > domain name > DNS Settings). We’ll examine each role and explain how to assign them in the next section.

DNS Name Resolving

The whole domain name system is arranged as a hierarchy. It’s known as the domain namespace. This global system holds every possible domain name and it’s divided into logical “domain zones.” A domain zone is a bit of the namespace that stores the addresses of specific domains. Addresses are kept in a file on another name server that has authority for that zone. So, for example, when a browser tries to access www.forinstance.com, it retrieves its IP address from a server that has authority for the forinstance.com zone. Check the related documentation for additional information about how DNS works.

Plesk as a Master DNS Server

After you buy a domain, a registrar lets you go into the settings for the DNS zone that’s responsible for your domain and its subdomains. You can choose between allowing the registrar to look after it or handing that responsibility on to Plesk. If you go with that option, then you’ll be able to manage a zone from your own account.

To look at what records are in a domain’s DNS zone right now, and to also add, modify, and remove records, go to Websites & Domains > DNS Settings.

Click Add Record to add a record, and then click on its name to modify it. For removing records, look for the checkbox next to its name and click Remove. A note of caution though—getting rid of certain records could have a detrimental effect on how your domain functions. For instance, if you get rid of the A record then this would mean it won’t be able to resolve anymore. If you do make changes that you later want to undo, just click Reset to Default to roll back to the default DNS records. This undoes all the changes that have been made to the DNS zone and restores it in line with the DNS template for the whole server. It’s worth remembering that when going through this procedure any custom records that you might have added to the zone will disappear.

You’ll also find the SOA record in the DNS zone. You can look at and make alterations to its record values by going to Websites & Domains > DNS Settings > SOA. If you put a check in the Use serial number format recommended by IETF and RIPE checkbox this will alter how Plesk stores SOA serial numbers, changing them from the Unix timestamp to the YYYYMMDDNN format suggested by RIPE. A lot of domain registrars, usually ones in Europe may require you to use this format, so you can always try enabling this option if your registrar won’t allow your SOA serial number.

Plesk as a Slave DNS Server

If you’d like to give authority for your zone to a DNS server that you already have and you’re an advanced user, you can enable Plesk to act as a slave (or “secondary”) DNS server. In this situation, Plesk will hold a copy of your zone and you won’t be given the choice of managing it via the Customer Panel. Plesk’s DNS server is only used if your primary name server stops working for some reason.

To make the Plesk DNS server behave as a secondary name server:

  1. Go to Websites & Domains and click on the domain name so you can manage its DNS settings.
  2. Click on DNS Settings.
  3. Click on Master/Slave to switch DNS server mode.
  4. Click on Add Record.
  5. Type the IP address of the primary (master) DNS server.
  6. Click on OK, and then Update.
  7. Go through steps 2-6 again for each website that’s going to need a secondary name server on your server.

To make the Plesk DNS server work as your main backup:

  1. Go to Websites & Domains and click to choose a domain name so you can manage its DNS settings.
  2. Click DNS Settings.
  3. Click Master/Slave to go between DNS server modes.

The zone’s original resource records will be restored.

Registrar’s DNS Settings in Plesk

If you decide against using Plesk as a DNS server, you’ll need to undertake all zone management via a domain registrar’s site. Some registrars will permit remote DNS zone management. If that’s the case with your hosting provider, you’ll still have the opportunity to make changes to the DNS zone using the Customer Panel, irrespective of the location of your authoritative name server.

To turn off the Plesk DNS service for a site that currently uses external name servers:

  1. Go to Websites & Domains and click to choose a domain name so you can manage its DNS settings.
  2. Click DNS Settings.
  3. Click Disable.

When you turn off the DNS service for the zone the screen will refresh, leaving only a list of name servers. You can click on these links to validate how the zone configuration is validated on the external authoritative name servers.

If you would like to validate a zone configuration that’s maintained on authoritative name servers, follow these steps:

    1. Add the entries pointing to the appropriate name servers that are authoritative for the zone to the list: Click Add Record, choose a name server, click OK, and then click Update.
    2. Do this for every name server you want to test. The records will appear in the list.
    3. Click on the records that you’ve just created.

Plesk will recover the zone file from remote name servers and then check the resource records to ensure that the domain’s resources are correctly resolved. The results will be interpreted and displayed on the screen.

Additional Domain Operations

If your Customer Panel has billing system integration, then you might find that Plesk offers you these operations on domains:

  • Permission to set a password for accessing the domain management panel on a registrar’s site.
  • Locking and unlocking of a domain name when you want to transfer to another provider.
  • Altering contact information like domain registrant and various other details.
  • Altering DNS settings for domain zones served by a domain registrar.
  • Configuring automated renewal of the domain account with the domain name registration company.

For setting a new password to access your domain management Customer Panel on a registrar’s site:

  1. Go to your Account.
  2. Look for the domain name you want to change the settings for and click the Show Domain Info link next to it.
  3. Click Change Domain Password.
  4. Enter your new password and click OK.

To lock or unlock a domain name for transfer to another provider:

  1. Go to your Account.
  2. Look for the domain name you want to change a setting for and click the Show Domain Info link next to it.
  3. Click Change Registrar Lock Setting.
  4. To permit domain name transfer, uncheck the Lock checkbox and click OK.

To change domain owner’s contact, technical, administrative, or billing information:

  1. Go to Account.
  2. Find the domain name for which you want to change settings, and click the link Show Domain Info that’s next to it.
  3. Click Edit Contact Info.
  4. Go through the required changes and click OK.

To change DNS settings for a domain:

  1. Go to Account.
  2. Find the domain name you want to change the settings for and click the Show Domain Info link that’s next to it.
  3. Click Edit DNS Settings.
  4. Set the domain name servers that serve the DNS zone for your website and also the IP address of the server where the website is hosted.
  5. If your website’s DNS zone is served by your domain name registrar, then you can also detail other resource records that influence how your website’s services may be accessed using the Internet.
  6. To save your changes, click OK.

To configure automatic renewal of the domain name:

  1. Go to Account.
  2. Look for the domain name that you want to change the settings for and click the Show Domain Info link next to it.
  3. Click Automatic Domain Renewal.
  4. To permit auto-renewal of domain registration, select the Turn on auto renewal checkbox and click OK.

All About Managing Domain Names in Plesk

Managing Domain Names in Plesk

Your domain name is essential to your online presence because it’s the first thing visitors interact with. A domain name is your address – the one visitors use to find you out there in the vast internet. Many choose to rely on a managed domain service to have a few responsibilities carried off their busy shoulders – like setting up or changing domain names.

However, you may find yourself left in the dark if your IT admin is ever unavailable. What if they are out of office when you need a quick domain edit? Luckily, setting up and editing domain names in Plesk is easy business that you can swiftly take care of by yourself. Considering the importance of domains, it’s definitely a great addition to add to your skill set.

How to Change a Domain Name

No need to worry about changing a domain name in Plesk, since this is super simple.

  • First, login to your Plesk account and head over to Domains in the Navigation menu.
  • Then, click on example.com > Hosting settings to change your domain name as below:
managing domain names add domain - Plesk

The red box shows where you can input your domain name, and you’re all done. It really can’t be simpler than that.

And to Add or Remove?

If you manage more than one website, you’ll need to add an additional domain name to the server. You can add your domain name right from the Plesk panel. So, to host a new website, with a second-level domain name:

  1. Head over to Websites & Domains and click Add Domain
  2. Follow the on-screen instructions as you can see from the screenshot below.
  3. Select OK. Your new domain name will now appear in the list at the bottom of the screen.
  4. If changing the hosting settings is available for your account, then you can simply click on the domain name of your new website to view or change the hosting settings. And you’re ready to go!
managing domain names 2 - Plesk

What if you need to remove a domain name for good? Then Plesk has you sorted, because once you delete a domain, all the site’s corresponding data is deleted from the server. If that’s what you want, the following 3 steps are here to show you how:

  1. Click on Websites & Domains and find the domain name you want to remove.
  2. Click on Remove Website or Remove Subdomain.
  3. Confirm removal and select OK.

Working with Plesk, there are also plenty of other services you can access as a user in order to have full reign over your domains. From accessing email services, to setting up mailboxes on the website domain, and managing mailing lists. This can all be done from the Plesk interface. Thus, giving you full control over your domains, without having to rely on, possibly unreliable, third-parties.

Next, learn how to set up a Domain Name Server (DNS).