Fabianamichelle's avatar

New To Laravel

I've downloaded Herd, and when I open up my example.test site in my browser it takes me to a deploy site. I've already put in my credit card information, and started an environment (per say), but still when I load the page it doesn't pull up a website. What could I do to make the website show properly?

0 likes
12 replies
LaryAI's avatar
Level 58

Certainly! It sounds like you’re using Laravel Herd and trying to view your local Laravel project at example.test, but you’re being redirected to a deployment page instead of seeing your local site.

Here are some steps to troubleshoot and resolve the issue:

  1. Check Your Project Directory

    • Make sure you have a Laravel project in the directory you expect. If not, you can create one with:
      laravel new example
      
      or
      composer create-project laravel/laravel example
      
  2. Open the Project in Herd

    • Open Herd and ensure your project directory is added. Herd should automatically detect Laravel projects in your Sites directory (usually ~/Sites).
  3. Check the Local Domain

    • Herd uses .test domains for local development. Make sure you’re accessing the correct URL, e.g., http://example.test.
  4. Check Herd’s Site List

    • In the Herd app, verify that your project appears in the list of sites. If not, add it manually.
  5. Restart Herd

    • Sometimes, simply restarting Herd can resolve routing issues.
  6. Clear Browser Cache

    • Your browser might be caching an old redirect. Try clearing your cache or opening the site in a private/incognito window.
  7. Check for Conflicting Services

    • Make sure you don’t have another service (like Valet or MAMP) running that could interfere with Herd.
  8. Hosts File

    • Herd manages your hosts file automatically, but if you’ve made manual changes, double-check that example.test points to 127.0.0.1.
  9. No Credit Card Needed

    • For local development with Herd, you do not need to enter any credit card information or start a deployment environment. That’s only for deploying to Laravel Forge or similar services. Local development should work out of the box.
  10. Reinstall or Update Herd

    • If all else fails, try updating or reinstalling Herd to ensure you have the latest version.

Summary:
You should not be seeing a deployment page for local development. Double-check that your local project is set up correctly in Herd, and that you’re visiting the correct .test domain. You do not need to deploy or enter payment info for local development.

If you’re still having trouble, please provide more details about the exact page you’re seeing or any error messages.

Let me know if you need more specific troubleshooting!

jlrdw's avatar

Just a side note, I suggest you view the 30 days to learn laravel course.

Fabianamichelle's avatar

Nevermind, it is still giving me the laravel deploy site. I've tried everything

rodrigo.pedra's avatar

@Fabianamichelle what OS are you using?

Windows, macOS?

I ruled Linux out as Herd isn't available for Linux.

Second, what does the "deploy site" you are seeing say?

The default Laravel welcome page on new projects can look somewhat like a marketing site.

1 like
Fabianamichelle's avatar

Okay I am back! I am running macOS, and the person that commented underneath you is the site I am seeing

Please or to participate in this conversation.