404 not found on https://IP/admin/

This Auto Script works good but after the install, i see this (404 not found)
My OS: Ubuntu 14.04 - LAMP

`Primary Hostname: box.2302.domainxxx.com
Public IP Address: XX.XX.XX.XX
Mail-in-a-Box Version: v0.17c

Updating system packages…
Installing system packages…
Initializing system random number generator…
Firewall is active and enabled on system startup
Installing nsd (DNS server)…
Installing Postfix (SMTP server)…
Installing Dovecot (IMAP server)…
Installing OpenDKIM/OpenDMARC…
Installing SpamAssassin…
Installing Nginx (web server)…
Installing Roundcube (webmail)…
Installing ownCloud (contacts/calendar)…
ownCloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)…
Installing Mail-in-a-Box system management daemon…
Installing Munin (system monitoring)…
updated DNS: OpenDKIM configuration
No domains hosted on this box need a new TLS certificate at this time.

Your Mail-in-a-Box is running.

Please log in to the control panel for further instructions at:


You will be alerted that the website has an invalid certificate. Check that
the certificate fingerprint matches:


Then you can confirm the security exception and continue.


Not Found
The requested URL /admin was not found on this server.

Apache/2.4.7 (Ubuntu) Server at XX.XX.XX.Xx Port 443


Maybe my OS is the problem?

Did you modify the install script? Are you running this in a VM inside another server? Did you visit the right IP address?

Thanks Josh!
Did you modify the install script? - No!
Are you running this in a VM inside another server? -No! Dedi Root Server 8 GB Ram
Did you visit the right IP - Yes
I have no idea…

Maybe that? not sure if it should be box.domainxxx.com


The box uses nginx, rather than Apache, and it will even uninstall Apache if it finds it, so it doesn’t make sense that you’re seeing a response from Apache.

Same issue for me, I installed it in a VM and the following:

http on IP shows Apache2
http on IP/admin shows 404

https on IP says site can’t be reached
https on IP/admin says site can’t be reached

telnet to port 23 and port 443 fails.

I’m scratching my head here… Any help guys?

hi, i think you can try this

Uninstall apache2 (apt remove apache2) and then rerun the installer.

Note: Some VPS providers ubuntu 14.04 based images INCLUDE apache2 by default, removing it (or disabling the service) should resolve this issue.

1 Like