Changing vhost from default port 80 to 8081?

nvm_mbaker

Registered
Jun 6, 2013
2
0
1
cPanel Access Level
Root Administrator
Have an account that havs been created that uses port 80 by default as expected. Looking to have this port changed to 8081. I know that I should not use httpd.conf as this will be overwritten by cPanel. Instead I made changes to an include file found at /var/cpanel/userdata/useraccount/domain.name. In this file I changed port:80 to port:8081?

Would this resolve this issue? So far it hasn't. Do I need to rebuild and restart Apache. EasyApache actually seems kind of complicated. Maybe I am not ad familiar with Apache as I should. What else should I be doing here. Are there any other configurations that should be made?

Sorry in advance if this is not the right section. I am a cPanel novist working to be more advanced.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463