title: Can I use IP address as Name Server instead of creating custom Name Server
body: <p>I've just bought a VPS to host my website.<br>
  One of the problems I've faced during migration from shared hosting to VPS is to setup a Private Name Server.<br>
  I've instructed to create two Private Name Servers with the IP I've provided.</p>
  
  <p>Example: ns1.mydomain.com points to 127.0.0.1 (say)<br/>
      ns2.mydomain.com points to 127.0.0.1 </p>
  
  <p>My doubt is,  instead of creating such name servers why I'm not allowed to use my IP as name server<br/></p>
  
  <p>I'm trying to enter IP address(of my website) in field where I've instructed to enter Name Servers. (</p>
  
  <p>Enter Your Name Servers:</p>
  
  <p>Name Server 1 :-  123.4.5.6<br>
  Name Server 2 :-  123.4.5.6 (<a href="https://i.stack.imgur.com/QHpES.png" rel="noreferrer">see the picture here</a>)<br>
  (if I enter ns1.mydomain.com(custom Name Server) which also points to the same IP 123.4.5.6)</p>
  
  <p>if 'X' equals 'Y', why I cannot use the same 'Y' instead of 'X'<br>
  if ns1.domain.com wears the IP 123.4.5.6 , why I cannot fill 123.4.5.6 instead of (name Server)ns1.domain.com?</p>
  
  <p>OR If one can access his site through IP and domain.com (where domain.com = IP) why this is not applicable in case of name server (where ns1.domain.com = some IP. and hence I can fill that IP instead of ns1.domain.com)</p>
  
  <p>why this is not possible?</p>
  
  <p>(PS: my question is NOT how to create Name Servers. I could do it.)</p>