|If your server requires a new server IP due to server move, or network restructuring, follow the following steps to update your license and system.|
1) Contact DirectAdmin ahead of the move to notify them of the new IP address. Include the old IP, and license ID. Note that if you have an internal license, you must be the datacenter to make this request. If you cannot view your license from your clients section then you do not have authority to issue the request. Note that DirectAdmin will continue to run even after we change the IP. You just can't update the license or DA at this time. Also ensure you have enough time before the license expires (eg: more than a day).
2) Boot the server with the new server ip. Do this the same way you did originally for the old server IP. This should be done in your system's network settings and not in DirectAdmin (yet). Do not add the IP to DA through the IP Manager.
DirectAdmin will not be running, as the license file will be invalid.
Assuming we got your email and processed the request in step 1), you should now be able to get the new license file:
Note: from April 23rd, 2019 onward, any license who's IP has been changed will be portioned to just 5 days, if downloaded anytime within 5 days of the change. Licenses updated after that 5 day period will get the normal portioned duration. DirectAdmin will automatically update the license as the expiry nears, so you shouldn't need to do anything differently.
3) Start DirectAdmin with the new license:
/etc/init.d/directadmin restartThe dataskq may have already started it, thus the restart instead of just "start".
4) Run the ipswap.sh script to replace the old server IP (220.127.116.11) with the new server IP (18.104.22.168)
This script can be run on any ip, so if you want to change all ips with new ones, just run this script for each old ip with the new ip. Just ensure that you match the new server ip with the old one. As mentioned before, you must not add the new IP do DA through the IP Manager. The new server IP is to be added using the ipswap.sh script. It will remove the old IP as well automatically.
Make sure they are correctly binding to the new ports by testing them.
Note for any domain that will have it's IP change, you may notice dns propagation delay. See the Related Guides below to lower the TTL before doing the move, and also why you may be seeing the apache or shared IP page after an IP change.
|How to lower your TTL just before an IP change|
|What are the IP requirements for DirectAdmin to run?|
|Why do I see the "Apache is functioning normally" page instead of my domain? (sometimes: "Hey it worked!")|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST