URL forwarding keeping the address

Asked

Viewed 279 times

-1

I am using my server to host other websites because my hosting plan allows, however, I would like for example when accessing the directory www.meusite.com.br/outrosite appear in the address bar the domain already redirected, for example www.outrosite.com.br.

They told me I have to put a code on .htaccess but I don’t know what code that is.

1 answer

0

You need to do basically 2 things:

1) Register the domain outrosite.com.br as "Addon Domain" in the control panel of your server. There you configure the "Document root", which can be something like www.meusite.com.br/outrosite.com.br.

2) Set up DNS in the company where you registered the domain, pointing to your server’s nameserver.

Browser other questions tagged

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