# How can I host a laravel website on here?

**URL:** <https://forum.infinityfree.com/t/how-can-i-host-a-laravel-website-on-here/49894>\
**Category:** Hosting Support\
**Created:** [August 13, 2021, 10:02am UTC](https://forum.infinityfree.com/t/how-can-i-host-a-laravel-website-on-here/49894 "2021-08-13T10:02:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon37329802](https://forum.infinityfree.com/letter_avatar/anon37329802/32/6_22734026db12803ebb3e059622ac3534.png) [@anon37329802](https://forum.infinityfree.com/u/anon37329802)\
**Post date:** [August 13, 2021, 10:02am UTC](https://forum.infinityfree.com/t/how-can-i-host-a-laravel-website-on-here/49894/1 "2021-08-13T10:02:33Z")

</div>

### Username (e.g. epiz\_XXX) or Website URL

epiz\_29392179 (Website for [tutorialwebsite2.epizy.com](http://tutorialwebsite2.epizy.com))

### Error Message

- 

### Other Information

Hey guys so I’m trying to host my laravel website on here but it’s not working. So I’ve uploaded all of my files into a subfolder called tutorialwebsite in the htdocs folder. I’ve also imported my database into the mysql database on here and changed my .env file settings to suit the new database. But when I click on the website link it doesn’t show my website. It just shows this:

 ![screenshot2](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/7/0/70351347eb59e5d30db2818c9348f9bfef5e32d7.jpeg)

So what else do I need to do to make it work?? It works on my local computer but I need to be able to show people my website on a link.

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [August 13, 2021, 10:25am UTC](https://forum.infinityfree.com/t/how-can-i-host-a-laravel-website-on-here/49894/2 "2021-08-13T10:25:00Z")

</div>

> [@anon37329802](#):
>
> uploaded all of my files into a subfolder

Maybe you should just move the files to htdocs?

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [August 13, 2021, 10:33am UTC](https://forum.infinityfree.com/t/how-can-i-host-a-laravel-website-on-here/49894/3 "2021-08-13T10:33:01Z")

</div>

This should help

> [@Deploy Laravel 5 to /htdocs](https://forum.infinityfree.com/t/deploy-laravel-5-to-htdocs/26038/2):
>
> The first thing to understand is that Laravel is definitely not designed with the typical characteristics of a website hosting service. While it’s possible to run Laravel here, it’s not pretty or easy. If you want to have good hosting for Laravel, you’d need a service with at least SSH/command line support, and preferably Composer and Git support as well. That said, you can run Laravel here, by simply uploading all the files of your Laravel codebase to the htdocs folder of your website using an…

---

<div class="post-metadata">

**Author:** ![anon43044821](https://forum.infinityfree.com/letter_avatar/anon43044821/32/6_22734026db12803ebb3e059622ac3534.png) [@anon43044821](https://forum.infinityfree.com/u/anon43044821)\
**Post date:** [August 14, 2021, 9:11am UTC](https://forum.infinityfree.com/t/how-can-i-host-a-laravel-website-on-here/49894/4 "2021-08-14T09:11:51Z")

</div>

@anon37329802

[https://www.laravel-deployer.com/free-hosting-for-laravel.php](https://www.laravel-deployer.com/free-hosting-for-laravel.php)

U can use this or Heroku if needed 👍

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [August 21, 2021, 9:11am UTC](https://forum.infinityfree.com/t/how-can-i-host-a-laravel-website-on-here/49894/5 "2021-08-21T09:11:54Z")

</div>

Closed on August 21, 2021, 9:11am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
