Problems with domain name registration

Started by jackgrylls, Jan 10, 2023, 10:10 AM

Previous topic - Next topic

jackgryllsTopic starter

Hi everyone! I have a question about setting up a server with Windows Server 2016, AD, DNS, IIS+PHP, and MySQL. Everything seems to be working fine so far, but now I want to buy a domain and I'm running into some issues. I created contacts for the registrant and was asked to create a host or NS server. When entering in the name of the server and IP, I kept receiving a failure message and ended up changing the server name to ns.aemtk.kz. While the request was approved, a different IP was assigned and whois for this IP gives a different city and provider. I contacted my provider and he added a PTR record, which gave out DC1.aemtk.edu.kz. My questions are: Is it okay that the host name is PTR "DC1.aemtk.edu.kz" when the site should be called aemtk.edu.kz? Should there also be just aemtk.edu.kz in the DNS parameters "NS Name Server"=>"dc1.aemtk.edu.kz"=>"192.168.1.2"? What do I specify in the request to the registrant of the domain in the hosts, the name: ns.dc1.aemtk.edu.kz , IP:180.0.130.248? And finally, what else do I need to register in my DNS server to publish the site and make it available by domain?

Server specs:
External IP static: 180.0.130.248
Server Address: 192.168.1.2
Server Name: DC1
DNS name: dc1.aemtk.edu.kz
NS entry: dc1.aemtk.edu.kz

Thank you for your help and expertise on the matter!
  •  

KelpyMson

There seems to be some confusion about the terminology being used, between "Domain" in AD and "domain" in turnet. They are two different things. It's important to keep in mind that sites should never be kept on an AD server! Virtualization is key here and Hyper-V can do an excellent job for Windows. The AD server should only have AD and perhaps some other system snap-ins like internal DNS, DHCP, certificate service, and WSUS. If you don't have experience with Linux, it would be better to use hosting services instead of setting up your own site. Additionally, if you don't fully understand how DNS works, it's best to purchase it from a provider that offers it. Lastly, never keep services on Windows that are accessed directly from outside, no matter how harmless they seem. If you don't want to use hosting, consider setting up a virtual machine with Linux to run both the website and DNS.
  •  

ManiQuadraIncorp

To solve the problem you're having, it would be easiest and best to simply use a DNS hosting service instead of trying to create your own name server for a domain name that should be available on the internet. Putting everything on one server, especially the DNS service, is not recommended. There are options like the free Google.DNS or paid Zilore DNS (www.zilore.com) that you can use. Once you add your domain and create the necessary records pointing to your external server IP (A record for addresses and MX for mail), register the DNS servers of the DNS hosting provider with the domain name registrar. They will provide you with the necessary information for your added domain name.
  •  

soorceBlepe

About the PTR record pointing to "DC1.aemtk.edu.kz" - this is a reverse DNS record that maps an IP address to a hostname. It's okay to have this set up, but it's not directly related to your website domain "aemtk.edu.kz". The PTR record is more for network identification and security purposes.

Now, when it comes to registering your domain and setting up the name servers, it's important to ensure that you have the correct DNS parameters. For the NS (Name Server) record, the name should be "dc1.aemtk.edu.kz", and the IP should be your server's external static IP, which is 180.0.130.248 in your case.

When requesting the registrant of the domain to add the host "ns.dc1.aemtk.edu.kz", you are essentially asking them to include this as an authoritative name server for your domain. The IP you provide should match your server's external static IP - 180.0.130.248.

As for publishing the site and making it available by domain, you'll also need to set up the A (Address) and CNAME (Canonical Name) records in your DNS server. The A record should point your domain "aemtk.edu.kz" to your server's external IP, and the CNAME record should map "www" to the same domain.
Ensure that your NS, A, and CNAME records are correctly configured in your DNS server, and that the registrar has the correct information for the name servers and host records. Once all these configurations are in place, your website should be accessible by the domain "aemtk.edu.kz".
  •