Creating a custom domain for clients like ICasei does

0

I've created a system that generates a site for the client, such as ICase . Example:

www.meusite.com.br/cliente1
www.meusite.com.br/cliente2
www.meusite.com.br/cliente3
www.meusite.com.br/cliente4

Just like Icasei does

Icasei has the option to generate a custom domain for the client. Example:

www.ronaldocarol.com.br =>(pertence ao) www.meusite.com.br/cliente1
www.jessicaeleonardo.com.br =>(pertence ao) www.meusite.com.br/cliente2

I would like to know how to link this custom domain to the "subdomain" of my site?

Is this setting in nginx ?

    
asked by anonymous 17.10.2016 / 14:23

1 answer

1

This does not have to be with nginx, at least it can be done without any relation to nginx .

This can be a% dotscript in DNS.

Having CNAME you create a ronaldocarol.com.br pointed to CNAME , this will suffice to display the content of www.meusite.com.br/cliente1 when access by meusite.com.br/cliente1 .

Depending on the DNS server you use, such as ronaldocarol.com.br or DNS Made Easy , there are own APIs to change DNS automatically.

    
17.10.2016 / 15:19