LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-07-2010, 03:04 PM   #1
tygueirn
LQ Newbie
 
Registered: Jan 2010
Distribution: Debian Server
Posts: 10

Rep: Reputation: 0
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
 
Old 01-08-2010, 02:10 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Which ip should I indicate when setting the domain name to point to ? because VPS has two.
Whichever one you want - you pick one to be the main one.

Quote:
is there a further configuration to take on setting on the VPS ?
Not necessary.

Quote:
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
You are free to choose.
 
Old 01-08-2010, 06:48 PM   #3
tygueirn
LQ Newbie
 
Registered: Jan 2010
Distribution: Debian Server
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you for your reply AlucardZero

The name dns make me scare as it is always ambiguous for me, before I was thinking that I should transfer domain this has discouraged me sometime to take VPS, now there is no need to configure any dns as it remain with its actual configuration.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can ssh to my vps but the sftp does not work rsz Linux - Networking 6 10-30-2006 03:48 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM
SSH won't connect from outside IP's surfduke Mandriva 8 12-28-2004 10:36 PM
How to lock out ip's that try to ssh by force mazzo Linux - Security 3 08-19-2004 02:28 PM
Allow SSH from specific IP's ONLY. m15a4 Linux - Security 3 12-29-2003 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration