Reverse-proxy NGINX + Apache on Directadmin powered server with CB 2.x

jamgames2

Verified User
Joined
Aug 16, 2019
Messages
69
Hi, I have a virtual server with root and custom build 2. I don't know if config files were changed. Is it safe to use this instruction to add nginx? I have several websites running on apache and I don't want to spoil anything.
In now you can use custombuild gui to build your nginx_apache without edit anything
 

kulbon

Verified User
Joined
Jun 7, 2020
Messages
15
After change from apache2 to nginx_apache and rewrite confs, apache is working on port 8080 but nginx is not listetning on port 80. Why ? How can i Solve this?

Code:
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      464/dovecot/imap-lo
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      505/dovecot/pop3-lo
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      26172/exim         
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      505/dovecot/pop3-lo
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      464/dovecot/imap-lo
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      24531/httpd         
tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      24531/httpd         
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      26172/exim         
tcp        0      0 127.0.0.2:53            0.0.0.0:*               LISTEN      884/named           
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      884/named           
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      197/pure-ftpd       
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      328/sshd           
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      26172/exim         
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      884/named           
tcp6       0      0 :::3306                 :::*                    LISTEN      7019/mysqld         
tcp6       0      0 :::2222                 :::*                    LISTEN      9709/directadmin   
tcp6       0      0 :::53                   :::*                    LISTEN      884/named           
tcp6       0      0 :::21                   :::*                    LISTEN      197/pure-ftpd       
tcp6       0      0 :::22                   :::*                    LISTEN      328/sshd           
tcp6       0      0 ::1:953                 :::*                    LISTEN      884/named
 
Top