Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Pointing a VPS ip to a dedicated server ip address. in the VPS & Dedicated forum
Hello, How can I easily point all request from a VPS to dedicated ip address? For instances, the VPS ip adress is 11.22.33.44 how can ...

  1. #1
    XoK
    XoK is offline
    Giv me the number for 911 XoK's Avatar
    Join Date
    Feb 2007
    Posts
    121

    Pointing a VPS ip to a dedicated server ip address.

    Hello,

    How can I easily point all request from a VPS to dedicated ip address?

    For instances, the VPS ip adress is 11.22.33.44 how can I make it bound all requests to11.22.33.55 ?

    It can be solved with .htaccess or do I have to change DNS settings?

    Which of them is more reliable, htaccess or dns settings?

    This is to migrate a VPS, but I want to test if it is everything before migrating, and if there is any problem, I need to undo it, and make changes (in code/settings) to the migration be successfull.


    Regards,

  2. #2
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    For short term redirection use .htaccess (and code 302, not 301). It works at once and it also stops again at once when you remove it.

    DNS (and 301 redirects) get cached in various places, which makes it impossible to truly switch all traffic over at a specific point in time.

    For long term, once you have ready what you need, update your DNS. Leave the .htaccess redirect in place at the old place for a few days. After that all traffic will have picked up the new DNS setting.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  3. #3
    XoK
    XoK is offline
    Giv me the number for 911 XoK's Avatar
    Join Date
    Feb 2007
    Posts
    121
    I could answer before, thanks for the reply.

    Although I have made it in several steps, copied all stuff from VPS to dedicated, without migrating databases, websites ran ok with the databases in the other, when I have time, I will migrate DBs also.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •