I am trying to point subdomain.example.com to a Laravel app on Forge. I created the subdomain record and pointed it within the registrar. If I check the dns on that (whatsmydns.net), I get the anticipated IP of the app. On that IP (my Forge instance) the app is in the default domain. However, the subdomain wouldn't resolve there.
So, I then created another site on the same Forge box, using the same app repo but created the site with the domain subdomain.example.com.
Check your nginx config. Forge configures for the primary host name so you need to delete the default site and add the new site as subdomian.example.com. Then, check your nginx config to make sure it is correct.
Hey @ejdelmonico. So I had a chance to tackle this. I dumped the site and default site and recreated. I can see that my subdomain dns A record is pointing to the right IP, however the site is unreachable. I am getting a 'server DNS address could not be found' error.
I am an nginx noob. So while I can see the config, I am not sure what I should be looking for.