Change IP

In case you have to change an existing IP in DirectAdmin, you can do this with (old IP IP


cd /usr/local/directadmin/scripts


If you run NGINX (as reverse proxy) you need to edit etc/nginx/nginx-vhosts.conf. manually. Replace there (twice, listen :80 and :443) the old IP with the new IP and when you are done, run:

cd /usr/local/directadmin/custombuild
./build rewrite_confs


This article was written by: Alentejo Hosting.

Was this article helpful to you?

Leave a Reply