VPS ip's and ssh questions
Hello
Let me explain my actual situation, I have a website on a shared hosting and the domain name of this website is hosted by the shared hosting company too. This domain name has :
- One ip address and two name servers
- ns1.companyname.com and
- ns2.companyname.com
both name servers pointing to different ip addresses. Now I have a VPS server running on Debian 5. The new hosting gave me two ip's for this VPS.
Now I want the domain name to point to the VPS, I asked both hosting providers for the VPS and the shared hosting which host the domain name, the shared hosting tell me that it is very easy what you want to do and possible, you have just to point the domain name to the new ip of the VPS and all is fine, the seem thing confirm the VPS provider too.
Now as I have two ip's I am confusing, first :
- Which ip should I indicate when setting the domain name to point to ? because VPS has two.
- Once I point the domain name to the new ip, is there a further configuration to take on setting on the VPS ? for example should I indicate the name servers ns1.companyname.com and ns2.companyname.com on the VPS or it is not necessary ? the hosting tell me that the problem is solved once I point the domain name to the VPS ip.
- To connect to console by ssh, I am free to choose one of the two ip's of the VPS or there is just one which work for console ?
This is the first time I run a VPS, I have many ambiguous things in mind.
Thank you
|