domain.tk/whatever should work, also the host should have instructions for making it work.
To add set up laravel folder structure correctly, discussed here before, please search.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm new with Laravel and I try tu put my project on a private server. If I access with IP it works all the routes, but if I access from a domain that I have (is a free .tk domain) (for example 111.222.333.444/create it works, but domain.tk/create doesn't works).
I want to buy a .com, .es or .cat domain, but before I want to see how it works with .tk domain.
My final project is on my computer and the server only have the main code of Laravel and a test route that I put on it (/create), but when I try to load domain.tk/create it shows the same as domain.tk, the main page, but with the ip/create it shows the message "Soy create" (this is the message that I put on the return of the route function).
I'm using apache2 on this server with php 7.1.
Sorry if this isn't post at a correct place.
Thanks.
Please or to participate in this conversation.