APACHE URL rewriting of a Server subdomain (A) to a Server subdirectory (B)

Asked

Viewed 205 times

1

My application is on the server (A) Accessible through the URL: nome.dominio.com.br

I have another server (B) Accessible through the URL: www.dominio.com.br

Need to access, this server url (B) this way ULR: www.dominio.com.br/name

And I need her to point to the name.dominio.com.br

Does anyone know how I can do this via Apache?

1 answer

1

I’m not prepared to take the test right now. But I found this information in the English OS:

Apache mod_proxy

ProxyPass /mirror/foo/ http://backend.example.com/

It seems to be what you are looking for. Please reply to this message by letting us know if it worked. If it’s not what you’re looking for, I’ll remove that message.

  • 1

    Not always the hosting service has mod_proxy installed, have to check this before.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.