User Tools

Helper to fix troubles after a server migration


The server amap-dev has been migrated on a virtualized host on january, 10 2011. Some problems have been encountered after to reconnect the svn clients to the relocated server. Here are some notes about the event.

Testing DNS cache issues

The server name is the same ( but the ip address changed from to

Your DNS servers may have not updated already.

To check the ip address of the server from your machine, open a terminal and type


It will tell you the ip it knows and you can check it the new one (and ping may not respond if not activated on the server).

It is also possible to open a web browser and to try this address: .

You may be asked for entering your login.

Update your local DNS cache

# Windows
ipconfig /flushdns

# Linux
/etc/init.d/nscd restart

# MacOSX 10.5.1 and before
lookupd -flushcache

# MacOSX after 10.5.1
dscacheutil -flushcache

You may also reboot your machine to flush the dns cache.

The dns servers also use caches and may update them with a specific periodicity. It may be 2h, 12h, oe 48h or more. Waiting may be needed.

Note for wondows users: it is possible to locally force the ip address for a given server name in c:/windows/system32/driver/etc/hosts add a line with this format:
documentation/helper_to_fix_troubles_after_a_server_migration.txt ยท Last modified: 2013/05/23 10:25 (external edit)