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

Saint Isaiah

Registered
Aug 29, 2011
3
0
51
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
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.
 

Saint Isaiah

Registered
Aug 29, 2011
3
0
51
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.