To be able to access a page created with Laravel from any PC

0

You see, I have created a project in Laravel for a job, and for the first time it is necessary for me to be able to access the project from any computer (come on, as with this same web page). I would like to know how I can adapt my Laravel project to a real web page. In addition, it will be necessary to give you a normal name, instead of localhost/(nombre del proyecto)/public/ .

I update: I've gone to a hosts page called 000webhost File Manager . I created a user account, I created a website created ficherodejuegos and now I am here:

The story now is how I do so that my folder with the laravel project is uploaded. I can upload individual files, but I do not know how to upload entire folders.

More information: I already downloaded Filezilla, and I find that I have to fill in some parameters:

It seems that I have to put information on my website, but I do not understand it well and it gives me an error. Does someone tell me what I'm doing?

More things: I have used Filezilla, passing data from my host to 000webhost:

Although it seems that there is some error due to difficulties with ASCII characters, it seems that connection has finally been made. Now what is left to put in that area called public_html , but I do not know how to put a whole folder inside. Should I previously compress the project?

    
asked by Miguel Alparez 23.07.2018 в 13:05
source

1 answer

1

I will explain the steps you must take to upload a website to any hosting.

First of all you must locate your FTP data, depending on the hosting you use these data you will find them in one place or another, given your example, never log in on the page and click on details of the website in question you can see it.

In your filezilla you will have to put the Host, the user and the password (the same one with which you access 000webhost)

The same page 000webhost gives you all the information you need in English. You must upload your files (that is, your entire laravel folder) within public_html

You use the same details to access phpmyadmin or click manage databases

You create a new database

You open it with phpmyadmin

Once you are inside, you enter the local database on your computer where you have linked the laravel and export the database, this will generate a sql script which you throw in the phpmyadmin of 000webhost and you will have the base of mounted data, once the copy of the database is done you edit the laravel file so that it points to the new database

I hope it helps you, any doubt you comment. Greetings.

    
answered by 25.07.2018 в 15:02