DA to listen only on one IP?

Hello,

You've got a few options here.

1) The easiest would be:

http://www.directadmin.com/features.php?id=301

Where DA only binds to that that IP. You'd need to make sure that no domains rseolve to that IP.

**Note: this will also stop DA listening on 127.0.0.1, so if you have any plugins, you'd need to get them to connect to your server IP instead of 127.0.0.1.

2) Other solution (less clean) would be to get DA to only listen on 127.0.0.1, then use something like this:
http://help.directadmin.com/item.php?id=84

I'd probably go with #1.

John
 
another option...

I just thought of another option.

Is if you have a firewall installed on the server is to only allow 127.0.0.1 AND the Ip address through.
 
It's doubtful your firewall cares about localhost (127.0.0.1). Firewalling access to other IP#s on port 2222 would come up with an error or a blank screen rather than a redirect.

So which would you want?

:)

Jeff
 
Back
Top