Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

DirectAdmin changing IP Address using ipswap.sh

DirectAdmin changing IP Address using ipswap.sh

DirectAdmin changing IP Address using ipswap.sh. In this tutorial we will learn How to change your server IP address in DirectAdmin using ipswap.sh. When you install directadmin on AWS without elastic ip and in worst situation you need to restart instance the you get a new ip and you loose access to your old ip, In this scenario we need to change ip address.

For this first we need to login via ssh with putty now go to directory to /usr/local/directadmin/scripts.

You can use Linux command given below

cd /usr/local/directadmin/scripts

DirectAdmin changing IP Address using ipswap.sh

DirectAdmin changing IP Address

Run the command given below (it will require root access)

./ipswap.sh old_ip_address new_ip_address

Restart all services to IP Address change effect

systemctl restart pure-ftpd
systemctl restart exim
systemctl restart dovecot
systemctl restart httpd

You can also run da build rewrite_confs

Run the commands given below

cd /usr/local/directadmin/custombuild
./build set userdir_access yes
./build update
./build rewrite_confs

Learn how to install directadmin on Amazon Aws.

If you have and query or suggestion then please comment, I will reply to fix your problem, if you like our content then you can subscribe to our Youtube channel. If you want to hire me then reach us at our Fiverr.

5 1 vote
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments