Alternative Apache port for individual site?

ChrisH76

Registered
Apr 29, 2020
2
0
1
UK
cPanel Access Level
Root Administrator
Hi All,

I need a website to be accessible using http://domain.com:8888 - but for an individual site only, I don't want to change the apache port server wide. Is this possible?

Failing that, is it possible to setup a port forwarder so that visiting domain.com:8888 actually displays domain.com?

Thanks in advance for any help :)

Chris
 

ChrisH76

Registered
Apr 29, 2020
2
0
1
UK
cPanel Access Level
Root Administrator
I've managed to find a workaround on the firewall, diverting port 8888 to 80

For anyone who may want to do this in future:

In WHM, under plugins, select 'ConfigServer Security & Firewall'
Select 'Firewall Redirect'
Add a line .e.g:
*|8888|*|80|tcp
Save changes / restart CSF / LFD