Url forwarding keeping the url

Asked

Viewed 135 times

2

Personal my client has a resale plan at Locaweb where he has a main website and within this brush has the Subsites that are generated dynamically and do not have folders in the hosting. I need to redirect the domains of his clients to this sub-site of the main hospegem without losing the original URL has how to do this? Ex.

URL Pincipal: www.siteprincipal.com.br

Url sub-site: www.siteprincipal.com.br/cliente1

Customer URL 1: www.cliente1.com.br

I need to redirect the Customer Url1 to the Sub-site Url but keep the Customer Url1 in the address bar.

His website was made in Laravel 5.1 with Linux and PHP 5.6 hosting

Thank you

  • You do it by implementing "virtual hosts". In Linux Ubuntu this is show. The web server(apache) in Ubuntu will open a different site (searching in a certain folder) for each requested url. :-)

No answers

Browser other questions tagged

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