Adding domain to my server
Hello,I am totaly new to this and have some hard time adding the domain to to the site I am hosting through VPS. In WHM I have created new account (that should be my website), then I added this account's IP to the IP Functions-> Add a New IP Address. Then in "Basic cPanel & WHM Setup" in Nameserver 1 I have cganged from ns1.vm to ns1.example.com, I did the same with Nameserver 2, then I moved on to Edit DNS Zone here in first two NS bars I have changed from ns1.vm(or something similar) to ns1.example.com. and ns2.example.com. also, in the bottom I pasted those nameserver values that(I think) are ns1.example.com and ns2.example.com, selected A's and pasted this Ip in both bars: 82.221.xxx.xxx(it's example.com, the web I am trying to put domain on, user ip in WHM) and saved. Then, in my domain providers registrar just pasted ns1.example.com and ns2.example.com, I thought, it should work, but it doesn't... Now, when I go to example.com I get "ERR_CONNECTION_REFUSED" instead of redirection to domain seller's site, witch in my eyes seems like some kind of progress. Also, when I check this on intodns.com it shows that my nameservers use same IP, that is main(host?) IP, is it good, bad or even related to the fact that my domain doesn't work the way I want? So, what I did wrong here and what should I do? Any help would be really appreciated. Thanks for reading.
-
nameservers must be registered with your domain registrar to work. So register ns1.example.com and enter its IP address, do same for ns2 0 -
Hello thanks for answer, so it's okay to have same IP for both nameservers? 0 -
depends on the registrar most of them do not care 0 -
Thanks for your response, maybe you have any idea what I did wrong or why domain doesn't find website? 0 -
New Thanks for your response, maybe you have any idea what I did wrong or why domain doesn't find website?
Hello, You may find the following thread helpful: [Tutorial] Nameserver configuration on cPanel servers Thank you.0
Please sign in to leave a comment.
Comments
5 comments