DA IP and port

browncow

Verified User
Joined
May 15, 2006
Messages
12
I had DA installed by staff after purchasing lifetime license.
Question.

It was installed on 66.xx.xx.5 on port 2222
How do I change DA to bind to 66.xx.xx.6 on port 80 ?

Thanks.
 
You can, but I don't think you want to do that, not unless you're willing to give up your webserver. You cannot run both Apache and DirectAdmin on port 80.
What you could do is for example create a custom login page and have that login page connect to DA on port 2222. That way your users won't even realise its running on port 2222 (and they wont have to add :2222 to the url to access the control panel).
 
Aspegic said:
You can, but I don't think you want to do that, not unless you're willing to give up your webserver. You cannot run both Apache and DirectAdmin on port 80.
What you could do is for example create a custom login page and have that login page connect to DA on port 2222. That way your users won't even realise its running on port 2222 (and they wont have to add :2222 to the url to access the control panel).

why can't apache bind to the .5 IP on port 80 and DA bind to the .6 IP on port 80?
doesn't make sense that it cannot.
 
There are posts on these forums for allowing DA to listen on other ports. I'm not sure if there are any to allow it to listen on port 80, though.

The easiest way I can think of to do this would be with an iptables rule (presuming Linux, and not BSD), forwarding between the world on .6 port 80 and localhost on .5, port 2222.

DA is licensed for the IP# for which you bought the license; to change the actual IP# that DA listens on requires a license change available by contact the DA sales department.

You can set DA to listen on any port, but you'd be responsible for changing Apache's main httpd.conf file so apache doesn't listen on the IP# you're using for DA on port 80, since both DA and apache can't listen on the same port, and since by default apache is configured to listen on all active ports.

Paragraph 2 above ... that would be the way I'd try it first.

Jeff
 
Back
Top