How to create custom Nameservers with your domain
In case you want to configure “Glue Records” and generate alternative NS to dns3.swhosting.com and dns4.swhosting.com or another DNS, you must follow the following steps:
info In order to create a custom Glue Record it is necessary that your domain is in SW Hosting.
How to transfer or register un dominio
info It is also necessary that the domain has a Hosting service or any service that provides a DNS zone.
How to deploy a hosting service for a domain
1. First, we must access the Hosting service associated to our domain:
info Remember that you can use the top search engine to quickly access a service.
1.1 Next, using the side menu, access the 'DNS Management' and create a new DNS record.
1.2 You will need to create two DNS records with the following data:
Record type: A
Host Name: the name you want your Nameserver to have (e.g.: ns1, ns2)
Host IP: the DNS server you want to resolve queries (81.25.112.3 -> dns3.swhosting.com)
1.3 You will have to wait for the records to finish being created in your SWPanel and propagate globally:
1.4 To consult the propagation, you can use tools such as Dig Web Interface or What's My DNS:
2. Next, we will have to create the corresponding Hostnames. To do this, you can follow these steps:
2.1. From the main SWPanel Dashboard, you must go to the “Domains and SSL” -> “Domain Portfolio” -> “Hostnames” section:
2.2. Once here, click on “Create Hostnames” and a window like the one below will open:
Here you must specify the following information:
- DNS Name -> subdomain.domain.extension (For example, ns1.swmanuales.com).
- IP Host -> In this case, it would correspond to 81.25.112.3
- Use by default -> Specify if we want it to be primary or secondary DNS
danger Remember that you must create two hostnames, each one pointing to an IP of the DNS server that you want to resolve your domain and they must be identical to the A records created in point 1.
3. Remember that you must create two hostnames, each one pointing to an IP of the DNS server that you want to resolve your domain and they must be identical to the A records created in point 1.
3.1 Access the Dashboard of your service
info Remember that you can use the top search engine to quickly access a service.
To continue, you will need to go to the DNS Management section (located on the left side of your screen). Now, you will need to locate the NS records currently set up in your service:
Next, you must modify these NS records and make them match the hostnames that we created earlier in point 2.
info 💡 *To modify the values, go to the right menu (“...”) and click on “Modify DNS Record”.
Subsequently, a window like the following one will open, in which you will have to set this information:
- Subdomain -> In case of making this change for the main domain, we will leave it blank.
- Target Server -> For example, ns1.swmanuales.com
- Host IP -> The IP corresponding to the Hostname created above.
danger ❗ In order to continue, you must accept responsibility for the DNS zone modifications and click Save Changes.
3.4. The changes will be applied shortly. Please note that this process may take a few minutes. Also, DNS propagation, depending on the domain extension, could take hours to complete.
You can view the status of NS propagation through the following web page:
https://www.whatsmydns.net/#NS/
4. Finally, we must modify the NS of the domain. To do this, follow the steps below:
4.1. From the SWPanel Dashboard, go to the “Domains and SSL” section and then to the “Domain Portfolio” section:
Once here, and as shown in the previous image, you must open the right side menu (“...”) and select DNS Data.
4.2. You will then see a window open in which you will have to define the NS of the domain:
Keep in mind that in DNS1 and DNS2 you have to specify the same names as the previously modified domain NameServers. These NameServers were modified in point 3.
To make this modification, simply click on Change DNS, then type the desired value and press the Enter key.
When you want to save the data, you must accept the responsibility of changing the DNS of the domain and select Save changes.