View Full Version : directadmin port
jancat
01-28-2008, 02:56 AM
how can I change :2222 port to another port ?
jlandes
01-28-2008, 07:33 AM
Edit the file /usr/local/directadmin/conf/directadmin.conf and change the line:
port=2222
to:
port=#
Replace # with the port number that you'd like to use. You'll also want to modify the file /var/www/html/redirect.php and change the line:
<?
header("Location: http://".$_SERVER['HTTP_HOST'].":2222");
?>
to:
<?
header("Location: http://".$_SERVER['HTTP_HOST'].":#");
?>
Once again, replace # with the same port number you used above.
Make sure you update your firewall to open this new port. Hope this helps. :)
markmanc
01-21-2010, 02:30 AM
Hi Jeremy
Thanks for this, sorry to act a bit dumb, do I update the firewall on my server?
Thanks
Mark
jlandes
01-21-2010, 06:05 AM
Hi Jeremy
Thanks for this, sorry to act a bit dumb, do I update the firewall on my server?
Thanks
Mark
Yes, you will need to update your firewall to open the port that you plan to use for DA.
Command
05-16-2010, 02:33 AM
It is not working by my server ?
Peter Laws
05-16-2010, 02:54 AM
It is not working by my server ?
Did you restart DA?
nobaloney
05-16-2010, 09:18 AM
Is what not working on your server? DirectAdmin? Your Firewall? Your access to the DirectAdmin port?
Give out your URL so others besides you can test.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.