How to connect different path of custom domain to different services

Hi, is it possitble to connect different services to different paths of custom domain? for example, I would like to connect www.example.com/heroku_app to a project hosted on heroku and www.example.com/blog to hashnode which host my blogs. I know about subdomains but they are something I am trying to avoid for both technical and personal reasons.

PS: I am new to domains and its related stuff. Also I am not sure if its the right place to ask this question. Let me know if its not. I will remove it.

Hi @goyal.amanrocks,

This is not a standard setup due to the way DNS works, one hostname typically points to one server in a standard setup. If you are looking to do this with Cloudflare you would probably need custom code and to look at Workers.

2 Likes

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