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

mstnorris's avatar

Help with set up... What am I doing wrong?

Is anyone able to provide me with a little support setting up Forge?

I have signed up to Digital Ocean and Laravel Forge.

I have set up my GitHub repo and I can SSH into my Forge server and see that the automatic deployment works as my Laravel code is there.

The issue I am having is that when I go to my server's IP address, it just shows a 404 Not Found error. Is it something obvious I'm missing?

0 likes
8 replies
bashy's avatar

You can check the logs to see what directory it was looking for.

Also check to see what Nginx is responding to in /etc/nginx/sites-available/somename

mstnorris's avatar

It says the logs aren't found.

When I go to /etc/nginx/sites-available it shows the two domains I have configured with and without the www so I guess that is ok. Shouldn't I be able to see one of my domains through the Forge IP address?

This is all too foreign to me.

bashy's avatar

It says the logs aren't found.

Check /var/log/nginx/* or check inside the sites-enabled files to see what log paths are set.

When I go to /etc/nginx/sites-available it shows the two domains

Good, you should also check sites-enabled

Shouldn't I be able to see one of my domains through the Forge IP address?

Maybe but depends what Nginx is setup to show.

mstnorris's avatar

My DNS hadn't propagated fully. It said that it had yet it hadn't so not much help here. @JeffreyWay, is there a way to delete a question?

bashy's avatar

That's the first thing you check :P

Never delete a question. It always helps others

mstnorris's avatar

I had, when I pinged the URL it showed the correct IP address. When I checked using http://propagatedyet.com and http://whatsmydns.net they both showed the correct IP. I flushed my Mac's DNS cache yet still it showed the old webpage.

On that note... Is there anything else I should / could have checked?

Please or to participate in this conversation.