I'm trying to change apache port to 82 (to confugure nginx): I changed:
NameVirtualHost 220.127.116.11:80 to NameVirtualHost 18.104.22.168:82 in apache2.conf
Listen 22.214.171.124:80 to Listen 126.96.36.199:82 in ports.conf
VirtualHost 188.8.131.52:80 to VirtualHost 184.108.40.206:82 in sites-available/default
And changed manually ports in every virtualhost. But when I create new host, it creates with 80 default port, and in the prev. config file are added lines with port 80. How can I change the default port?