I think this is called URL masking, but not 100% positive.
Hello!
Let me explain what I am trying to do.
I have Cloudflare on my domain, and have set up my origin server.
If I visit hello.domain.tld, Cloudflare points it to the origin IP, and the server displays website #1
If I visit hola.domain.tld, Cloudflare points it to the origin IP (Same IP), and the server displays website #2
I want to be able to visit hola.domain.tld, have Cloudflare point it to the orgin IP, but have the server display website #1. So the server has to be tricked into thinking that I am actually visiting hello.domain.tld.
Is this possible to accomplish with the Cloudflare free plan?
So far, I have tried using CNAME and A record, neither works as I want it to.
Oh, and I do not have FTP access to hello.domain.tld (Website 1), but I do have FTP access to hola.domain.tld (Website 2)
Sorry, it does kind of sound like that, doesn’t it? I am using some online service thing that needs access to a subdomain. However, the subdomain is a bit misleading, and I want to change it. However, the service does not allow me to. If I try to access the IP with any other subdomain name, my own error page appears.
So I somehow have to trick this other server into thinking the correct subdomain is given so it will show the correct webpage.
The easiest way would be to change this on the origin server; instead of one configuration for hello and for hola, have one configuration for both those subdomains.