I have a VPS with an ISP Manager panel.

With domains

  • domain1.com
  • domain2.com
  • domain3.com

And subdomains

  • cart.domain1.com
  • cart.domain2.com

I need to display cart.domain2.com when opening cart.domain1.com

I suspect it is possible to do this using Alias?
Or reference the existing cart.domain1.com directory on the server?

My goal is to dynamically create subdomains and link
between them and avoid duplicate directories with site files.

With which config Apache 2.4.8 can I do this?

Your Answer

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

Browse other questions tagged or ask your own question.