Render html for multiple folders on the server

Asked

Viewed 25 times

0

I am looking for an implementation that allows me to publish the same html on several domains of my hosting. My goal is to centralize control of it in just one application. I would like to know if this is possible and what technology can solve this problem.

1 answer

1


In a simple and non-technical way, but that gives you room to advance:

  1. Point the DNS of all domains to the same server;
  2. Configure the web server (Nginx/apache/iis) to direct ALL to the same directory;

This will make your system accessible regardless of whether the user came from www.dominio1.com.br or www.dominio48.com.lo.

Hence it will be up to your application to identify this internally and do whatever you want.

If you look at the App Session controller, it might be tied to the domain and you need to handle.

If you implement more information to your question, I can implement more details here to facilitate.

Browser other questions tagged

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