How to 'attach' domain name to my server?
I have small problem, looked at this ant other forums, and see that thing is simply stupid, but I am not clear with it,so please tell me solution.


I have site at my-domain.com, site is on shared host, in my domain register I added DNS servers which hosting provider gave to me when I opened hosting account for my-domain.com and all that works for 1 year. Since traffic to site increased, hosting company told me to move my site to vps or dedicated server on their hosts or some other hosts, so I found good offer on another provider and bught 1 vps with tech specs that I need with ubuntu 10.10.

On the other side, I makde on my computer ubunutu 10.10 installation and rewrited application for better performance (web server/mail server/database etc...) When I make backup on my home machine, and upload and extract on remote VPS everything is as it should be, but I ma testing using VPS IP address, site that users and search engines access is on old shared hosting still.

Now I want to add new remote vps IP to my domain register NAME servers, but I don't know:

-should I add my VPS ip?
-in that case what be my secondary name server?
-what I need to do on my remote VPS with complete site(app) to edit so it can be accessible to my-domain.com?is that hostname, or what?

I hope that You understand what is problem, and I am sure that this is something simple for people who are doing with those stuffs,so please help me.Thanks



How to 'attach' domain name to my server?
===

I have small problem, looked at this ant other forums, and see that thing is simply stupid, but I am not clear with it,so please tell me solution.


I have site at my-domain.com, site is on shared host, in my domain register I added DNS servers which hosting provider gave to me when I opened hosting account for my-domain.com and all that works for 1 year. Since traffic to site increased, hosting company told me to move my site to vps or dedicated server on their hosts or some other hosts, so I found good offer on another provider and bught 1 vps with tech specs that I need with ubuntu 10.10.

On the other side, I makde on my computer ubunutu 10.10 installation and rewrited application for better performance (web server/mail server/database etc...) When I make backup on my home machine, and upload and extract on remote VPS everything is as it should be, but I ma testing using VPS IP address, site that users and search engines access is on old shared hosting still.

Now I want to add new remote vps IP to my domain register NAME servers, but I don't know:

-should I add my VPS ip?
-in that case what be my secondary name server?
-what I need to do on my remote VPS with complete site(app) to edit so it can be accessible to my-domain.com?is that hostname, or what?

I hope that You understand what is problem, and I am sure that this is something simple for people who are doing with those stuffs,so please help me.Thanks


