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

    Default Apache httpd.conf every virtual host using port 8888 and not 80

    First of all, I'm terribly sorry if this has been posted before, but I spent about 45 minutes searching on both here and Google without a single result that relates to this issue.

    I've had my few websites running on a big, beefy server (Phenom II Thuban X6, 8GB RAM, 2x 1.5TB HDD) for a few months now and it worked great. However I didn't realize how much hardware I got for such a low price when checking the competition and decided to get a smaller server (ATOM, 4GB RAM, 2x 1.5TB HDD) for my websites and use the big one for my first fleet of game servers.

    I copied all the accounts over without a problem and proceeded to transfer my cPnginx license over as well. I now noticed that even though the copied accounts all work fine, whenever I make a new account based on a TLD or subdomain, the httpd.conf file has every virtual host (including the server hostname) as "hostname.tld:8888" or "*.*.*.*:8888" as the record rather than "hostname.tld:80" or "*.*.*.*:80".

    Is there something specifically I should start looking at to fix this, because I plan on selling shared hosting accounts and this will be quite a hassle if everytime a new account is made, the websites will cease to function unless I change "8888" to "80" and restart apache.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Apache httpd.conf every virtual host using port 8888 and not 80

    Please check in WHM > Tweak Settings for this option:

    Apache non-SSL IP/port [?]
    The port (e.g. 80) on which Apache listens for HTTP connections. An IP address may precede the port number, separated by a colon (“:”). Specifying a specific IP will prevent Apache from listening on all other IPs.
    If it is set to 8888 rather than 80, it would set every account in Apache's configuration (/usr/local/apache/conf/httpd.conf) to be under port 8888 rather than using port 80.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered User
    Join Date
    Aug 2011
    Posts
    2

    Default Re: Apache httpd.conf every virtual host using port 8888 and not 80

    THANK YOU THANK YOU THANK YOU!!!! For some weird reason it was set off the default to 0.0.0.0:8888. changed it to default and it's working perfectly.

Similar Threads & Tags
Similar threads

  1. Why doesn't my custom virtual directive includes appear in the httpd.conf?
    By robertnorris in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-25-2011, 05:17 PM
  2. httpd.conf showing deleted virtual hosts
    By learner in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-29-2009, 07:58 AM
  3. Replies: 6
    Last Post: 07-25-2008, 08:23 AM
  4. httpd / virtual host issue
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-11-2005, 09:53 PM
  5. Setting up Server Trust using Port 8888
    By Lamar in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-06-2003, 09:18 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube