Changed default ports nginx + apache

not all automated:
"The exception is the /etc/httpd/conf/extra/httpd-vhosts.conf and httpd-ssl.conf. Those need to be changed manually after the rewrite. You may want to use: chattr +i httpd-vhosts.conf chattr +i httpd-ssl.conf "
so try to modify ports in nginx configs too.
also check firewall, also kill old processes
 
Hello, I use nginx_apache and I wanted to change the default ports to 10080 and 10443.

So I use this : https://www.directadmin.com/features.php?id=1238

But you say to manually modify the two files which are /etc/httpd/conf/extra/httpd-vhosts.conf and httpd-ssl.conf.

I can't modify them they are protected and in its files I have to change what? you don't specify.

And if I change the default ports the renewal of the certificates let's encrypt will succeed? Since it is based on port 80 and 443.

Thank you for your future answers cordially
 
Last edited:
Back
Top