How can I use http://projectname.test instead of http://127.0.0.1:8000/
So I use the command PHP artisan serve to run a server and I can view my Laravel site at http://127.0.0.1:8000/ but I want to run my website at the APP_URL= 'http://projectName.test' how can I do this? I see a lot of videos online where it just spins up that way automatically. Thank you in advance.
@Sinnbeck This is crazy how difficult this is. I just want to be able to test my website on the public internet so I can test e-mail password reset and socialite. Am I even on the right path?
@Choych oh sadly that has nothing to do with that. It's only to make it look pretty and easy to remember. To expose it on the internet i personally use a service called ngrok
@Choych ngrok is exactly that. Expose your local dev url to the web. Personally I prefer ngrok, but expose as @niush suggests is an alternative. You can try both if you want. They do the same thing