How to setup Subdomain to be working

I created a subdomain from my webhost for a folder in my public_HTML and I found it difficult to link a working subdomain to it.
My primary domain is then subdomain is Grasp, its been over some days now I created the
Subdomain. And the Name server of my primary domain is pointed to Cloudflare CDN. Am finding it difficult to makey subdomain work fine. Below is the error I got from HTTP while trying to check it.

Not Found

The requested URL /404.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at Port 443

Your Apache is not configured to handle that request.

You’d do this either in your Apache vHost config, or with .htaccess

RewriteEngine on
RewriteCond %{HTTP_HOST} ^
RewriteRule ^(.*)$$1 [L,NC,QSA]

Or try a Page Rule

Forwarding URL, 301

Still not working, I have added the rewrite rules

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