Changed IP, old IP still plaguing httpd.conf

poox

Verified User
Joined
Apr 24, 2006
Messages
12
I installed my DirectAdmin server on an IP (for the purpose of this example, 1.1.1.1), then once the server it was replacing was decommissioned, I migrated it to the new ip (2.2.2.2).

Whenever I add another domain at user level to my admin account the httpd.conf in /usr/local/directadmin/data/users/admin/ has all the vhost containers rewritten with 1.1.1.1 and I have to manually search & replace with 2.2.2.2 to get my sites back up again..

I have looked everywhere for any trace of 1.1.1.1 but can find nothing, it does not seem to effect any users except the admin user.

Any advice would be appreciated, perhaps a list of places that could potentially contain the IP?
 
Did you use:

Usage:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]
you gave #0: /usr/local/directadmin/scripts/ipswap.sh

I think that should update everything!
 
Back
Top