Domain Forwarding / Mapping

0

I do not know if I used the correct terms in the question, but I'll explain what I need.

I am developing a system, and in this system there should be profiles of entities / companies. Each of them would have its address inside the system.

Ex: meu-sistema.com.br/empresa/1

Let's say that an X entity has its own domain, eg entidade-x.com.br As I would, so that when the user accesses: entidade-x.com.br the content of: meu-sistema.com.br/empresa/1 is displayed, not through iframe or simple redirection.

In the address bar, it would still be entidade-x.com.br , but displaying the contents of meu-sistema.com.br/empresa/1 .

If this is possible, how could it be done?

    
asked by anonymous 16.05.2017 / 01:39

1 answer

0

Well, you first need to have a domain that would be meu-sistema.com.br with the /empresa/1 addresses working normally.

Once this is done, you can create canonical names (or CNAMES) for your site, ie a dominio1.com.br domain with CNAME empresa1.com.br will lead to the same place and the address goes is not a redirect , it is a DNS information saying that this domain is not only, but also an original domain name.

Currently there are several providers that support CNAMES, depending on where you are hosting your site, the configuration may be different.

    
16.05.2017 / 01:55