Follow the step-by-step instructions below to set up custom DNS records and manage DNS records for your domain within Plesk Panel. There are four main steps covered:
Enabling DNS Service Using Plesk
Registering Name Servers
Setting Up And Managing Domain Servers
Creating Custom Name Servers
ENABLING DNS SERVICE USING PLESK
Before trying to configure your DNS settings, you need to ensure that DNS services are enabled on your VPS.
1) Log in to Plesk and navigate to the Server tab in the Power User view.
2) Click on the Server Components option under the Server Management heading.
3) You will see a list of all the server components/services that are running and installed on the server. Find the DNS Server line: if it has a green circle with a check mark, it is running. If it has a clear circle, then it is not running. If this is the case, click on the DNS Server link to select your DNS Server component and start the service.
You can now use your newly registered name servers for domains you add through your Plesk panel.
REGISTERING NAME SERVERS
At this point you should have a registered domain name set up through your Plesk panel; now you will be guided through the name server registering process.
If your domain name is registered with us, you can simply follow the steps below. However, if you domain is registered elsewhere, you will need to ask your registrar for login credentials and instructions to make the necessary changes to your name servers.
1) Login to OpenSRS in order to gain registrar level access to your domain name. If you do not know your OpenSRS login credentials, they can be found in the Customer Control Panel in the Account tab > Registered Domains > Click on the domain name > Additional Information sub-tab.
2) Use your login credentials to log in at https://manage.opensrs.net
3) Click Manage Name Servers.
This is where you will specify the name servers for your root domain and register your two new name servers.
4) In the fields under the Server Hostname heading, you will enter our name servers as they will host the records for your root domain.
5) Click the link at the bottom of the page to start the registration process. This will bring up a page that will allow you to modify existing name servers or create new name servers for registration.
6) Use the bottom section to create a new name server.
7) Simply enter the same subdomain records you created in the Add Your Domain To our System section. Also, use the same IP address in the Server IPV4 Address field.
8) Once you have added the name server records, you are finished with registering the name servers.
You have now registered your name server(s).
SETTING UP & MANAGING DNS RECORDS IN PLESK
Correct setup of DNS records allows for proper functioning of services like web hosting, mail hosting and FTP. The instructions below explain how to set up DNS records through your Plesk control panel including adding or modifying DNS records for the domain names hosted on your server, and customizing DNS settings for each domain that you create.
Here are the steps to setup a DNS record in Plesk:
1) Log in to your Plesk Panel.
2) Navigate to the Websites & Domains tab in Power User view.
3) Click on DNS Settings under the domain you need to manage.
Note: If you can’t see the buttons under your domain, click Show More.
4) Click the Add Record option.
5) Select the Record type you want to create and enter the required fields.
Note: For an A record, you will need to enter the domain name for which you wish to create an A record. If you are simply defining an A record for your main domain, then you should leave the available field empty. Then, you need to enter the appropriate IP address with which to associate the domain name.
Note: For a NS record, you will need to enter the domain name for which you wish to create the NS record. If you are defining an NS record for your main domain, then you will leave the available field blank. Then, enter the appropriate nameserver name in the field provided. You will need to enter the complete name (i.e. ns1.mynameserver.com).
Note: For a MX record, you will need to enter the domain for which you are creating the MX record. For the main domain, you would simply leave the available field blank. You will then need to enter your mail exchanger. If you are running a remote mail server named 'mail.myhostname.com', then you would simply enter 'mail.myhostname.com' into the field provided. You will then need to set the priority for the mail exchanger. Select the priority using the drop-down box: 0 is the highest level of priority and 50 is the lowest. Keep in mind that you would also need to add the appropriate A record, and/or CNAME record, if applicable, for the remote mail exchange server to function.
Note: For a CNAME record, you will need to first enter the alias domain name for which you wish to create the CNAME record. You then need to enter the domain name within which you want the alias to reside. Any domain name can be entered; it does not need to reside on the same server.
Note: For a PTR record, you will first enter the IP address/mask for which you wish to define the pointer. Then, enter the appropriate domain name for this IP to be translated to.
Note: For a TXT record, you will be able to enter an arbitrary text string, which could be a description or an SPF record.
Note: For a SRV record, you will need to enter the service name, protocol name, port number, and target host. Service and protocol names should start with the underscore symbol. You can also specify the priority of the target host, and relative weight (for records with the same priority) in the appropriate fields.
6) Finally, click the OK button to add the DNS Record.
Note: After you have successfully created your DNS records, you need to wait for approximately 24 – 48 hours for global DNS propagation to complete. You may verify your DNS records using nslookup or whois commands.
MANAGING DNS RECORDS
Once you have created your DNS records in Plesk, you will need to know how to manage them. This section of the article explains how to manage your DNS records.
1) Click on the host name.
2) Enter the details of the changes you would like to make, then click OK.
3) To remove any of the DNS records, click the corresponding checkboxes and then click the Remove link.
You need to wait approximately 24 – 48 hours for global DNS propagation to complete. You may verify your DNS records using nslookup or whois commands.
CREATING CUSTOM NAME SERVERS BY ADDING YOUR DOMAIN
The instructions below will help you to create private name servers for your domain names on our system. You will be able to brand your name servers and ensure that your white label solution is present on the domain management level.
Once you have identified a domain name you wish to have name servers set for, you need to add this domain to our system, and add our name servers as the host servers for you domain. This is completed within the Customer Control Panel.
1) First, log into your Customer Control Panel.
2) Select All Domains from the drop-down menu at the top of the page. This will display all the domains you have entered into our system.
3) Navigate to the Hosted Domains tab.
4) If you already have a domain registered with another registrar, click Add Existing Domain Registered Elsewhere to add it to your account.
Alternatively, click Register New Domain.
5) Once you have selected a domain name in either the Register New Domain section or in Add Existing Domain Registered Elsewhere section, you will be asked to assign several subscription options. For name servers, please use the following configuration. (Please do not select any web hosting or email hosting unless necessary).
6) To access the DNS configuration area, click the All Domains tab again and then click on the URL for the newly added domain name.
7) You can then click the DNS tab at the top of the webpage, then the DNS Records sub-tab. This will take you to our name servers. What you are doing here is creating your desired name server records in our system so that they can resolve.
8) At this point, you will need to create 2 records, usually ns1, and ns2 subdomains for your root domain. Do this by clicking the Add New DNS Record button
9) For the DNS Record Type drop-down box select A.
10) Under the Domain field you would enter the subdomain for your name server, as the example below illustrates.
11) Complete the wizard, and do steps 8 to 12 again to add the ns2 record.
12) You now have the two new records listed in your control panel like the following:
You should now be able to manage your Name Servers.