User's additional IP

MtK

Verified User
Joined
Aug 2, 2007
Messages
405
Hi,
I have a shared IP for all my clients, and I've added an additional IP for a certain client (only one) - I did not replace the shared IP because the client wanted a specific domain with this new IP and all the rest of his hosted domain to keep using the shared IP.

looking at the httpd.conf on this client, I see that the shared IP is still set for the specific domain, so I get a nice: Apache is functioning normally.
if I manually set the new IP, everything works fine.

the problem is, that is the client adds/modifies a domain it resets the settings to the shared IP, and he 'losses his site'.

what is the correct way of setting such an additional IP?
 
Hello,

I know I had found a bug where the IP wasn't updated in:
/usr/local/directadmin/data/users/username/domains/domain.com.conf

and this caused:
/usr/local/directadmin/data/users/username/domains/domain.com.ip_list

to end up with the accounts main IP, and the extra one. (an ipswap.sh bug).

Check:
User Level -> Domains Setup -> domain.com

and ensure the other IP was removed from the list.
Also check the above 2 mentioned files to make sure that the extra IP isn't listed there.

Note that the feature is beta, but is available to everyone.
The current code-base is fairly solid, but there are a few things missing still, like backup/restores with multiple IPs (which will be very messy to implement)

John
 
Back
Top