.htaccess - Two sites, different domains in the same hosting

1

Personal with a question, I wonder if it is possible to redirect a domain to a subfolder of a hosting with a website without changing the URL of the browser via .htaccess.

Example: Domain1 - Hosting1 domain2 - Hosting1 / domain2

Is it possible?

    
asked by anonymous 30.07.2018 / 19:27

1 answer

0

If I understood correctly, yes it is possible. You put the rules within site-available. Places an Alias to redirect to the second folder. Ex.:

https://www.example.com

https://www.example.com/blog
    
02.08.2018 / 19:19