Render view for another domain

1

I'm looking for an implementation that allows me to render html in various domains of my hosting. My goal is to centralize it in just one application. I wonder if this is possible and what technology can solve this problem

    
asked by anonymous 06.04.2018 / 20:17

1 answer

2

In a simple and technical way, but that gives you room to move forward:

  • Point DNS from all domains to the same server;
  • Configure the web server (nginx / apache / iis) to direct EVERYTHING 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 .

    It's up to your application to identify it internally and do what you want.

    If you look at the application's Session controller, this may be tied to the domain and need to be addressed.

    If you implement your question further, I can implement more detail here to make it easier.

        
    06.04.2018 / 20:31