blank pages when on https

  • Posted November 4, 2013

I have a Ubuntu 12.04.3 server with Apache2 and Zpanel installed. For one of the domains on this server I ordered and SSL Certificate and installed it. Everything seems to work fine but when I visit the website in https I just get a blank page… without any source code. When I click the cert button next to the domain name it shows the certificate and verified by GeoTrust.

Because of ZPanel i figured out I had to alter the /etc/zpanel/configs/apache/http-vhosts.conf file and add the <VirtualHost *:443>-settings Because it didn’t work I also altered

  • /etc/apache2/ports.conf (added Virtualhost *:443)
  • /etc/apache2/sites-available/default-ssl (added the cert and key files)

Has anyone some suggestions to solve my blank page issue?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

a typo slipped in while altering the /etc/zpanel/configs/apache/http-vhosts.conf file… It was hard to find because the nano editor didn’t show that part of the file because the text was too wide.

DigitalOcean seems to attract a lot of zPanel users. For the benefit of people that might encounter the same problem in the future… what was the solution?

solved it, myself… thanks anyway

It seems like an error with zPanel’s configuration. Try creating a thread here: <a href=“”></a>

I believe it is an PHP issue… When I create a .html page it works correctly, but a .php page stays blank. <br>This is an error I see in my log files : <br>PHP Warning: Unknown: open_basedir restriction in effect. File(/var/zpanel/hostdata/zadmin/public_html/domain_com/index.php) is not within the allowed path(s): (/var/zpanel/hostdata/zadmin/public_html/domain$) in Unknown on line 0 <br> <br>PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 <br> <br>PHP Fatal error: Unknown: Failed opening required ‘/var/zpanel/hostdata/zadmin/public_html/domain_com/index.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in Unknown on line 0