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

GrahamMorbyDev's avatar

server IP address could not be found.

So I have an issue im not really sure what to do with

I have set up new apps on each of my servers using the domain name, deleted the default app. Set up domains in digital ocean to push to the correct droplets and set up my nameservers on my domains.

But getting the error server IP address could not be found.

# FORGE CONFIG (DO NOT REMOVE!)
include forge-conf/watermelon.solutions/before/*;

server {
    listen 80;
    listen [::]:80;
    server_name watermelon.solutions;
    root /home/forge/watermelon.solutions/public;

    # FORGE SSL (DO NOT REMOVE!)
    # ssl_certificate;
    # ssl_certificate_key;

    ssl_protocols TLSv1.2;
    ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
    ssl_prefer_server_ciphers on;
    ssl_dhparam /etc/nginx/dhparams.pem;

    add_header X-Frame-Options "SAMEORIGIN";
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Content-Type-Options "nosniff";

    index index.html index.htm index.php;

    charset utf-8;

    # FORGE CONFIG (DO NOT REMOVE!)
    include forge-conf/watermelon.solutions/server/*;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }

    access_log off;
    error_log  /var/log/nginx/watermelon.solutions-error.log error;

    error_page 404 /index.php;

    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
    }

    location ~ /\.(?!well-known).* {
        deny all;
    }
}

# FORGE CONFIG (DO NOT REMOVE!)
include forge-conf/watermelon.solutions/after/*;

and name servers are normal

ns1.digitalocean.com etc ete

0 likes
5 replies
Cronix's avatar

and set up my nameservers on my domains

So, when setting up the nameserver in digial ocean, you created an A record for the domain pointing to your Forge servers IP address?

Cronix's avatar

How long ago? Sometimes they can take like 48 hours to propagate.

GrahamMorbyDev's avatar

one of the domains was actually already live I just moved server, its strange

Cronix's avatar

Well if you just moved it to a different server and set up the new ip in the nameserver, it might take up to 48 hours to propagate the new IP to the nameservers YOU are using when making the request. I say YOU, meaning, however you're accessing it like your local ISP. The local ISP may not have the new updated IP yet.

Can you ping it by ip and domain name?

Please or to participate in this conversation.