My cloudflare website only loads a blank page - php website under apache

What is the domain name?
alx5yvexj.uk

Have you searched for an answer?
Yes

Please share your search results url:

…community…/t/blank-page-after-deployment-of-react-site/598386
…/t/cloudflare-pages-deployment-broken/434757
…/c/website-application-performance/88
…/t/page-doesnt-want-to-update-index-html-by-index-php/407299

When you tested your domain, what were the results?
I click “Visit site” from my project page. The link turns into https://alx5yvexj.pages.dev/ and a blank white page is displayed (so adding this terminations .pages.dev - suppose I could live with that if the main page would load)

Describe the issue you are having:
I would expect to load the content from index.php

What error message or number are you receiving?
Only a blank page, no error displayed

What steps have you taken to resolve the issue?

  1. record DNS (i have added two, a type A with my public ipv4 address and another type AAAA containing my public ipv6 address)
  2. Tried to configure SSL/TLS → (just let the default options Flexible)
  3. checked the files loaded (I have created two projects: with a gitHub repo and with the project folder uploaded from my local machine - the behaviour is the same) It contains:
    db.php
    functions.php
    head.php
    index.php
    index.view.php
    old_index.html
    package-lock.json
    package.json
    view_index.php
    view_info.php
    view_top_invitati.php
    working.php
    /images
    /styles

Was the site working with SSL prior to adding it to Cloudflare?

I have only tried my website on local host, never been published. It works in browser under “http://localhost/alx5yvexj.com/
I’m new to web development and I did not any complex configuration like setting any open ports, proxy (is off), vpn, etc to my server - don’t know if is the case to do that (?!)

What are the steps to reproduce the error:

My Account->Workers & Pages-> Overview-> for a project, clicked [Visit site]

Have you tried from another browser and/or incognito mode?
Only Firefox

Welcome to the Cloudflare Community. :logodrop:

Cloudflare Pages is not a PHP hosting platform. You will need to use a web host that supports PHP.

:dizzy_face:
Really didn’t expect to that! Can I get the money back?

Get what money back? Cloudflare Pages doesn’t require you to be on a paid plan.

Cloudflare subscriptions are pre-paid and non-refundable and are clearly labled in a manner to indicate such.

For the domain. I got one today but since I cannot use it for php hosting, I don’t need it anymore.

Domain name registrations are offered at cost and are not refundable.

There is no reason why you cannot use your domain name with PHP webhosting. You just need to add the DNS records and IPs provided by your PHP webhost.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.