cPanel de Apache portunu değiştirme ve httpd.conf yeniden oluşturmak

cPanel de Apache portunu değiştirme ve httpd.conf yeniden oluşturmak aşağıdaki komutları kullanmanız yeterlidir.

 

Apache portunu değiştirmek

cp -a /var/cpanel/cpanel.config /var/cpanel/cpanel.config.ydk
nano /var/cpanel/cpanel.config
apache_port=0.0.0.8080

 

httpd.conf u yeniden oluşturma

/scripts/rebuildhttpdconf

 

Servisi yeniden başlatmak

systemctl restart httpd

 

NOT: Firewall da 80 portu tanımlı ise 8080 olarak değiştirmek gerekir. 

  • 0 Users Found This Useful
Was this answer helpful?