Affichage des articles dont le libellé est Adding New IP Owned by "Server" and using it for DNS for all users. Afficher tous les articles
Affichage des articles dont le libellé est Adding New IP Owned by "Server" and using it for DNS for all users. Afficher tous les articles

dimanche 28 décembre 2014

Adding New IP Owned by "Server" and using it for DNS for all users

Hello

I have searched from but I could not find solution. I might search wrong terms, if there is already a solution to this, please reply with forum link.



I installed directadmin with one IP address.

Later I bought another IP address from server provider, and added it to server via Directadmin.



I used this info from the forum : HOWTO: Setup your nameservers (Real Beginners Guide)



I also checked ifconfig on SSH, and it shows both IP addresses.

I also updated /etc/named.conf and /etc/resolv.conf with my IP addresses according to the how to guide.



Problem: ns2.domain.com is not working, and I can't access directadmin via newip:2222.

And if I browse http://firstip > Apache functioning normally. http://newip > do not resolve



Websites are working and loading from firstip, but I think I could not setup newip correctly. And I think this is because when I added new IP, it was not owned by "server", it was free and I assigned it to "admin" user, and created name servers without problem. But I think if I can assign the new ip to "server" so the ip may be shared with all users on the server? and I may access directadmin from newip too?



I know something is wrong but I don't know what it is.





Adding New IP Owned by "Server" and using it for DNS for all users