I have a site that generates sites in real time, each site created is generated a subdomain to access it, for example the operation of wordpress.com >, getting like this: link .
How do I, after hiring a new domain, redirect it to the subdomain that I created in the site generator?
Example:
I created a website and generated the following address: link , after doing this, I went to registro.br and I have registered a new domain called novodominio.com.br and I need to have it when I access it a redirection to the address link but preserving in the address bar the newdomain.com. Do not confuse with 301 redirect.