Redirect subdomain to folder (only cloudflare)


When i used cpanel i could do so my website url would show and it will go into a folder called api

I tried the redirect but it just changed my url to and i dont want that.

I have added A | api | ip | Auto . Record it works but does not go inside api folder.

English is not my native language so bear with my spelling :slight_smile:

Page Rules would still send a user to the subdirectory.

To get the /api subdirectory to show up on the subdomain has to be done at the server. The Apache or NGINX conf file needs to set up that subdomain and pull content from the /api directory.

That was my understanding of what the OP asked for.

Apparently not :confused:

Ok i will try to do that

This topic was automatically closed after 31 days. New replies are no longer allowed.