Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    1

    Default Change the default apache port

    Hi. I'm newbie in cPanel. I need to change the default port of Apache's VirtualHosts. So, I going to tweak settings, change there default value to 0.0.0.0:81. After that I execute following commands:
    Code:
    /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
    /usr/local/cpanel/bin/apache_conf_distiller --update
    /scripts/rebuildhttpdconf
    And the last command exiting with following error:
    Code:
    This tool unavailable until Apache is built by EasyApache 3.x at ./buildhttpdconf line 42.
    How can i rebuild the httpd.conf?
    PS i can use sed, but it's not cPanel way, as i understand
    Last edited by Bkmz; 05-20-2011 at 05:58 PM.

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Change the default apache port

    Is Apache up and running already?

  3. #3
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Change the default apache port

    Hello

    This tool unavailable until Apache is built by EasyApache 3.x at ./buildhttpdconf line 42.
    This message typically indicates Apache has been installed via your system package manager rather than via EasyApache.

    Could you post the output of the following command:

    Code:
    # /usr/sbin/httpd -v
    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. Change default cpanel and whm port from 2086 and 2082 to custom port
    By alok86 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-05-2011, 03:01 PM
  2. Chkserv.d - Can't change default httpd port
    By Sys3X in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-23-2009, 02:02 PM
  3. change mysql default port
    By jcorreia in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-05-2007, 02:38 AM
  4. change default port
    By majidnt in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 09-20-2005, 01:58 PM
  5. change default pop mail port
    By ne0shell in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-15-2004, 03:49 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube