I have been trying to install the Debain Nginx perfect server on the Google Cloud Platform. https://www.howtoforge.com/tutorial/perfect-server-debian-jessie-nginx-bind-dovecot-ispconfig-3.1/ I have set up a static IP and opened up the firewall ports but I keep getting a Apache2 Debian Default Page instead of the ISPConfig control panel login. The installation seemed to go fine but I was not able to properly set up the /etc/network/interfaces file and ended up with: # interfaces(5) file used by ifup(8) and ifdown(8)# Include files from /etc/network/interfaces.d:source-directory /etc/network/interfaces.d auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp ifconfig reports back my internal IP and not my external IP What has to be done to make ISPConfig work on GCP. Thanks for your help
The network things should be ok, seems as Google puts their servers into a private network with a router in front, so it's basically as if you would host your server in home or at office. This should not affect ISPConfig that much. Check the google firewall / router to ensure that port 8080 is open and pointing from the external IP to the right internal IP. Then check with netstat command that nginx is started and listening on port 8080 too.
Thanks for the reply htf_report.txt ##### PORT CHECK ##### [WARN] Port 443 (Webserver SSL) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Nginx (PID 553) [INFO] I found the following mail server(s): Postfix (PID 1085) [INFO] I found the following pop3 server(s): Dovecot (PID 482) [INFO] I found the following imap server(s): Unknown process (init) (PID 1) [INFO] I found the following ftp server(s): PureFTP (PID 837) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:993 (1/init) [anywhere]:995 (482/dovecot) [localhost]:10023 (719/postgrey.pid) [localhost]:10024 (1147/amavisd-new) [localhost]:10025 (1085/master) [localhost]:10026 (1147/amavisd-new) [localhost]:10027 (1085/master) [anywhere]:587 (1085/master) [localhost]:11211 (433/memcached) [anywhere]:110 (482/dovecot) [anywhere]:143 (1/init) [anywhere]:80 (553/nginx) [anywhere]:8080 (553/nginx) [anywhere]:465 (1085/master) [anywhere]:8081 (553/nginx) [anywhere]:21 (837/pure-ftpd) ***.***.***.***:53 (413/named) [localhost]:53 (413/named) [anywhere]:22 (883/sshd) [anywhere]:25 (1085/master) [localhost]:953 (413/named) *:*:*:*::*:993 (1/init) *:*:*:*::*:995 (482/dovecot) *:*:*:*::*:10023 (719/postgrey.pid) *:*:*:*::*:10024 (1147/amavisd-new) *:*:*:*::*:10026 (1147/amavisd-new) *:*:*:*::*:3306 (717/mysqld) *:*:*:*::*:587 (1085/master) [localhost]10 (482/dovecot) [localhost]43 (1/init) *:*:*:*::*:80 (553/nginx) *:*:*:*::*:8080 (553/nginx) *:*:*:*::*:465 (1085/master) *:*:*:*::*:8081 (553/nginx) *:*:*:*::*:21 (837/pure-ftpd) *:*:*:*::*:53 (413/named) *:*:*:*::*:22 (883/sshd) *:*:*:*::*:25 (1085/master) *:*:*:*::*:953 (413/named) ##### IPTABLES ##### Chain INPUT (policy ACCEPT) target prot opt source destination fail2ban-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25 fail2ban-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143 ,993 fail2ban-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21 fail2ban-ssh tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22 Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain fail2ban-dovecot-pop3imap (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-postfix-sasl (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-pureftpd (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-ssh (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 ----------------------------------------------------------------------------------------------------------------- Starting Nmap 6.00 ( http://nmap.org ) at 2018-02-12 06:24 PST Nmap scan report for ***.***.***.***.bc.googleusercontent.com (104.196.120.142) Host is up (0.068s latency). Not shown: 989 filtered ports PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 53/tcp open domain 80/tcp open http 110/tcp open pop3 143/tcp open imap 443/tcp closed https 3306/tcp open mysql 3389/tcp closed ms-wbt-server 8080/tcp open http-proxy 10000/tcp closed snet-sensor-mgmt Nmap done: 1 IP address (1 host up) scanned in 76.86 seconds --------------------------------------------------------------------------------------- GCP Firewall Settings Network default Priority 65534 Direction Ingress Action on match Allow Source filters IP ranges 0.0.0.0/0 Protocols and ports tcp:20 tcp:21 tcp:22 tcp:25 tcp:53 tcp:80 tcp:110 tcp:143 tcp:443 tcp:3306 tcp:8080 tcp:8081 tcp:10000 udp:53 udp:3306 Not sure why I get a default Apache page or a ISPConfig Page?