The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changing vhost from default port 80 to 8081?

Discussion in 'EasyApache' started by nvm_mbaker, Jun 11, 2013.

  1. nvm_mbaker

    nvm_mbaker Registered

    Joined:
    Jun 6, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. nvm_mbaker

    nvm_mbaker Registered

    Joined:
    Jun 6, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just an update I want the default port 80 to remain. I just want to change one vhost directive?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page