How do I redirect my laravel website from the Public folder to the main domain?

1 Answer

  1. Create a folder in your public_html directory I will call it webroot you can call it anything you want.
  2. Put all the content of your Laravel public folder inside public_html directory.
  3. Put all other remaining files and folder of your Laravel project inside webroot.
  4. Edit public_html/index.

For More Information Please Refer: https://stackoverflow.com/questions/49646729/laravel-5-5-redirect-main-domain-to-public-folder