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

Inquisitive's avatar

Domain not working with forge and linode

I have hosted a laravel website using the git repository on the forge, it is successfully hosted and running fine if I open it using its IP address.

Since I have used the Linode server to host it, I go to the Linode server, created a domain, and selected the server which was configured using forge.

Now, it's working fine with IP but not with the domain. Where should I check the log, and from where should I try to find the issue, I got stuck on this one.

I have also checked my domain on https://dnschecker.org/ and here it is showing that it is correctly pointing to the correct IP. This IP is currently loading the laravel.

Any suggestion, from where should I try to find the issue?

0 likes
8 replies
tykus's avatar

What does your web server config look like? Are you configured to server the domain, or a default site config?

Inquisitive's avatar

@tykus could you please elaborate your question. I got confused. From where i could find it?

Sinnbeck's avatar

If you visited the domain on your computer before you changed the dns, you might get the old IP. This is due to something called TTL. The only solution is to try on a different computer on a different network (or your phone on 3G)

Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

@Inquisitive It does indeed seem that you havent added the domain to the site in forge ? I dont use forge myself, but there should be a place where you can set the root domain, and I would assume forge will set up nginx for you

1 like
Inquisitive's avatar

@Sinnbeck actually, I have only set up the default repo. Should I still be adding the new sites as well with the domain name?

Sinnbeck's avatar

@Inquisitive Again I dont know how forge works. I use ploi.io myself. When you add a site to a server, you give it the domain name. It will then automatically add that domain to the nginx config for that site.

Please or to participate in this conversation.