Skip to main content

Redirect port to another directory

Comments

2 comments

  • cPanelMichael
    Hello :) You would likely need to implement some custom iptables firewall rules along with some custom entries in the Apache configuration file. You will likely find several potential solutions by searching for a term such as "redirect Apache port iptables" in a search engine. Thank you.
    0
  • danielvasc
    I added the following firewall rule: iptables -A INPUT -p tcp --dport 4000 -j ACCEPT Now I need to insert a rule in the apache configuration file (/usr/local/apache/conf/includes/post_virtualhost_global.conf). But what content do I enter?
    0

Please sign in to leave a comment.