I was trying to redirect a subdomain ie billings.example.net to Well, from my experience I could access the server and create a vhost pointing that the incoming of billings.example.net should be redirected to the address. But, unfortunately, I don't have the access to the server so I need to do something else.
So what should I do now? How can I resolve this error?

  • What do you mean, you don't have access to It's not accessible by http, from the client? Or from billings.example.net? Or do you mean you don't have admin access to configure it? Nov 1 '20 at 16:34
  • The server is running well and this server is also accessible by HTTP. i meant by telling dont have access is that I dont have the ssh access to the server, if I had then I could easily create a virtual host configuration file and it would be easy for me to redirect to the specified address. now I only have the access to the billing.example.net so whatever type of a name or CNAME i could create is only applicable to the example.net domain. Nov 1 '20 at 16:42

I think you want this configuration in the VirtualHost definition for billings.example.net:

ProxyPass        /
ProxyPassReverse /

Then any requests to billings.example.net/* will be transparently forwarded to*. You don't need admin access to to set this up.

  • Thank you for the answer, as you've instructed to configure the billing.example.net ** I must say that billing is a **subdomain of example.net so where exactly should I put the ProxyPass options. Should I put it on example.net configuration file or somewhere else? TIA Nov 1 '20 at 19:25
  • Thank You very much @Andrew Schulman it worked Nov 1 '20 at 20:00
  • Good. I clarified that the directives should go in the VirtualHost definition for billings.example.net. Nov 1 '20 at 22:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.