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

anton123's avatar

Server Not Found after Laravel Forge deployment

Hi, I'm currently building a Laravel 9 Rest API and wish to deploy the API online so I can use it on my front end. I registered a domain on AWS, created a server on Laravel Forge and by looking at the logs all migrations were created successfully. Unfortunately, when I try to visit the domain I get a "Server not found" error. I set up all of the AWS access keys, added the correct domain name while creating the server but still nothing. Could someone tell my what steps should I take so I know where I went wrong or could I provide more information about this issue?

0 likes
7 replies
Sinnbeck's avatar

Is the dns for the domain pointed to the correct ip?

1 like
Sinnbeck's avatar

@anton123 I have never used AWS. But I would assume you can see the IP of the server in forge

anton123's avatar

@Sinnbeck hey I just checked and there were no records pointing to the correct IP provided in Laravel Forge. I created a new one and it seems like it works now. I'm not sure what these things mean, I picked the "A" record type as provided in this screenshot, could you tell me if that is correct? https://imgur.com/FqO2xjC

Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

@anton123 Yeah an A record is correct. It is a simple pointer from a domain to an IPv4 ip adresse (AAAA is ipv6)

1 like

Please or to participate in this conversation.