How to change your server IP address in DirectAdmin. Print

  • 0

Step 1. Main server IP address change

To change the main IP address of your VPS server you need to log into SolusVM control panel, go to the Network Tab of VPS Controls Frame and click Set as Main IP Address button to the left of the new IP address.

Step 2. Control Panel & DNS server IP address update

To change the IP address for DirectAdmin and DNS server you need to follow next steps:

  • Connect to your VPS server using SSH (e.g. PuTTY)
  • Go to /usr/local/directadmin/scripts directory:
    # cd /usr/local/directadmin/scripts
  • Start ipswap.sh script to change old IP address for your Control Panel and DNS server to the new one (e.g. # ./ipswap.sh 8.8.8.8 7.7.7.7):
    # ./ipswap.sh old_ip new_ip
  • Restart all services for the changes to take effect:
    # /etc/init.d/httpd restart
    # /etc/init.d/proftpd restart
    # /etc/init.d/exim restart
    # /etc/init.d/dovecot restart

Step 3. License update

To update the license for you Control Panel please contact our technical support through the ticket system (https://support.sitevalley.com/) and we'll update it for you.

Step 4. DNS records update

The Private name servers used for the domain names hosted on your VPS server should be updated with the new IP addresses on your registrar's side.

The Public name servers used for the domain names hosted on your VPS server should be updated with the new IP addresses on your VPS server side using SolusVM control panel where you need to update A-records for all pointed to your VPS server Domains.

Do not hesitate to contact our technicians through the ticket system (https://support.sitevalley.com/) in case of any questions or troubles.

Note: If you have ordered one of our European or USA dedicated servers, you need to contact us to change the server IP for you.


Was this answer helpful?

« Back

Ready to work together towards your success?

We love taking your call.