I've been searching the site for a long time how to do what I want, the closest thing I found is this: Redirect from one domain to another and mask
If the situation is similar to mine. I put the situation in context a bit, I have two domains, both in different hosting services. One is business and the other personal.
I have a contact form for the business website that does not work on your hosting, I have already verified that it is a provider restriction.
That same code works fine on my personal hosting, so I want to redirect just that contact page to my personal domain. I already have that part, now what I want is to mask that URL, so that it is not seen personal.com/contacto
but rather miempresa.com/contacto
.
Is this possible? Thank you very much for the help.
If you have curl on the company server, you could redirect the data, you receive the form normally in mycompany.com/contact, but you process each $_POST and forward it to personal.com/hiddencontact.