Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Villdar's avatar

DNS and Domain name

So, I've successfull deployed my app on Forge with Digital Ocean. On the server-ip it work.

So for the next step I bought a domain on namecheap. I linked it on my progect on Digital Ocean, and configured the custom DNS.

I followed this guide https://laracasts.com/series/learn-laravel-forge/episodes/4

But I get an error 404 on the browser if I go to my domain.

I know it's difficult to know what the problem could be, but this is the first time I deploy an app, so if someone could help, it would be great!

0 likes
9 replies
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

It might be a TTL problem. If you visit the url before it points to the right domain, it will be "cached" for however many seconds TTL is set to. What is the domain?

1 like
Sinnbeck's avatar

@Villdar Ok I cannot go to the site either, so it seems to be a misconfiguration at forge, assuming that the IP there is 134.122.81.33 ?

1 like
Sinnbeck's avatar

@Villdar Check your settings on forge. It sounds like it isnt set up correctly.

1 like
Villdar's avatar

@Sinnbeck i've followed the series linked up. I've worked on the default site thats been created. I've to change his domain to the current one? Or maybe i've to put this domain on the .env file?

Villdar's avatar

Yes, so I solved by adding a new site on forge with the new domain and delete the default one.

Please or to participate in this conversation.