Skip to main content

virtualhost, listening on a different port

Comments

4 comments

  • cPanelMichael
    Hello :) Do you have root access to this server? If so, the following document should be helpful: Modify Virtualhost Containers With Include Files Thank you.
    0
  • rblue16
    Thank you for your response, Michael. From what I am understanding, I don't need to create another cPanel account, correct? Say that I have an account where it's pointing to: mydomain.com. What I want to do is to have mydomain.com:7000 pointing to a different folder, but it can be owned by the same user. And yes, I do have root access to the server. Thanks
    0
  • rblue16
    I forgot to ask: can I create a new virtualhost using these include files, or do they only change an existing virtualhost container? If the latter, I don't see a way to create a new virtualhost directive.
    0
  • cPanelMichael
    You can actually modify the httpd.conf file directly if you need to, provided you use the Apache distiller after making changes. This is documented here: Modify the httpd.conf file directly As far as what custom entries to use, you may need to consult with a system administrator if you are not sure what custom modifications are required for your preferred setup. Thank you.
    0

Please sign in to leave a comment.