1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to update DNS Server Details for a site shifted from Shared Host to VPS

Discussion in 'Web Hosting' started by dreamcoder28, Aug 17, 2012.

  1. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma
    Hi Guys,

    Because of the growing traffic needs of one of my sites, I recently migrated my wp site from my shared hosting account to a Linux VPS, now to update the nameserver details of my domain so that it correctly resolves to my wp site shifted to vps, I did the following:

    My VPS provider has a "DNS manager" in it's control panel, so far what I have done is I added a new "Zone" for my domain in the DNS manager and it gave me some nameservers which I updated at my domain name registrar's control panel.
    Now what I want to know is: to correctly resolve my domain to my wp site on vps, do I need to make some other changes like changing A type records or cname records etc., I don't know what these records are, all I want is that my domain should perfectly resolve to my wp site

    So guys please help me whether these changes will be enough or do I need to make some other changes too

    UPDATE:
    I don't have cpanel or any other control panel at my vps(it's an unmanaged linux vps) but I'm having cpanel at my shared hosting


    Thanks a lot :)
     
    Last edited: Aug 18, 2012
  2. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma
    bump.........
     
  3. SEOnetic

    SEOnetic Senior Member

    Joined:
    May 21, 2012
    Messages:
    995
    Likes Received:
    120
    Would like to know this as well. I am a newbie to VPS management too.
     
  4. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    612
    Likes Received:
    188
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    is your vps running cpanel? also, are you running your own nameserver?
     
  5. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma
    No my vps doesn't have cpanel and I'm not running my own nameserver.

    My vps is an unmanaged linux vps
     
  6. roamer

    roamer Power Member

    Joined:
    Dec 2, 2008
    Messages:
    500
    Likes Received:
    479
    Occupation:
    Gfx designer, vfx and mgfx
    Location:
    plɹoʍ ǝɥʇ punoɹɐ ƃuıɯɐoɹ
    You should point all pertinent records to your server.
     
  7. blackhat777

    blackhat777 Elite Member

    Joined:
    Jun 25, 2011
    Messages:
    1,779
    Likes Received:
    653
    I also need some help on the same.. Only difference is I've windows VPS. I've never hosted a site on a VPS. Finding it hard to migrate from shared hosting to VPS.
     
  8. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma
    I'm sorry I didn't get you, can you please elaborate what do you mean by 'pertinent records', does that include just the nameserver details or the A type/Cname records too ?
     
  9. roamer

    roamer Power Member

    Joined:
    Dec 2, 2008
    Messages:
    500
    Likes Received:
    479
    Occupation:
    Gfx designer, vfx and mgfx
    Location:
    plɹoʍ ǝɥʇ punoɹɐ ƃuıɯɐoɹ
    You point your domain to their DNS server(s) using the nameservers they gave you. That's half the job. After that, you should enter the appropiate info (server's IP) in order to point the domain correctly. So, yes, you must fill the records you need, including MX if you're managing your email through the same VPS.

    Same thing, use your provider's DNS panel if it has one. I usually don't bother much with that and use my own dns server hosted elsewhere. You can do this for cheap from within a WHM panel, or cPanel with multi-domains enabled.
     
    • Thanks Thanks x 1
  10. seopencil

    seopencil Supreme Member

    Joined:
    Aug 3, 2011
    Messages:
    1,435
    Likes Received:
    519
    Location:
    BHW
    u just need to create new account in VPS (which i think u already created). Then change your Domain nameserver to ur vps server. That;s only what you need to do. don;t check dns record in your hosting. That will automatically created.
     
  11. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma

    When I added a new "Zone" for my domain in my VPS's DNS Manager, it gave me nameservers which I have already updated at my domain name registrar's control panel, but I'm not familiar with the other records(A type or cnames) and how to change them, so can you please throw some light on which records to change, I'm having cpanel at my shared hosting and there is an option for DNS Record changes, so do I need to make changes there ?


    Also I plan to use google apps for my email so do I still need to change MX records too ?


    Thanks :)
     
  12. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma
    bump...
     
  13. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma
    bumpty bumpty bump bump....
     
  14. roamer

    roamer Power Member

    Joined:
    Dec 2, 2008
    Messages:
    500
    Likes Received:
    479
    Occupation:
    Gfx designer, vfx and mgfx
    Location:
    plɹoʍ ǝɥʇ punoɹɐ ƃuıɯɐoɹ
    Wait, you wrote that this is pretty much a barebones *nix vps, right? (no cpanel), and you've already pointed your domain using your provider's Nameservers. In this case, you don't need to do anything at that cpanel account, because your domain isn't pointing there anymore (from what you've said).

    So, what you need to do is tell the DNS server at your VPS provider where to point the domain requests. The minimum you need for that is fill the A record with your VPS' assigned IP address. You could also fill the NS records with the ones from your provider, but that part should be already filled. The MX records need to be filled following google's instructions (I have no experience with that).

    Hope this helps. ;)
     
    • Thanks Thanks x 1
  15. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma

    In my VPS DNS Manager the A type records are already set as follows:

    Domain: IP Address TTL
    *.mydomain.com points to MY_VPS_IP 60
    .mydomain.com points to MY_VPS_IP 60
    localhost.mydomain.com points to 127.0.01 60

    So is that enough or do I need to make few more changes ?
     
  16. roamer

    roamer Power Member

    Joined:
    Dec 2, 2008
    Messages:
    500
    Likes Received:
    479
    Occupation:
    Gfx designer, vfx and mgfx
    Location:
    plɹoʍ ǝɥʇ punoɹɐ ƃuıɯɐoɹ
    That should be enough. Of course your domain resolving is the most important part of this. If it's resolving, then everything's good.
     
    • Thanks Thanks x 1
  17. Hostwinds

    Hostwinds Power Member UnGagged Attendee Enterprise Member

    Joined:
    May 17, 2010
    Messages:
    768
    Likes Received:
    544
    Occupation:
    C.E.O.
    Location:
    Oklahoma
    Home Page:
    If your still having issues, add me on skype, I will sort you in a jiffy


    Skype: Hostwinds.peter
     
    • Thanks Thanks x 1
  18. dreamcoder28

    dreamcoder28 Regular Member

    Joined:
    Nov 21, 2011
    Messages:
    261
    Likes Received:
    40
    Occupation:
    Internet Entrepreneur
    Location:
    Battlefield of Karma
    Thanks a lot mate :)


    Added :)