Does pinging (ping mydomain.com) return your Forge IP or is it still an IP at Namecheap? Normally it does takes some time for DNS settings to propagate. Check the TTL settings at Namecheap to see roughly how long. Should be all alright by now though given your post is a day old.
Jan 27, 2017
4
Level 1
Keep getting "404 Not Found" Error with Forge
Hi Everyone,
New here, trying out Laraval Forge as a student. I'm trying to install Statamic, a flat file CMS. Think I installed everything okay, but keep receiving error when I try and access site by IP or domain in browser.
Domain name is registered with Namecheap with the following settings:
Type: A Record Host: * IP Address: IP of Digital Ocean server Type: A Record Host: @ IP Address: IP of Digital Ocean server Type: CNAME Host: www Target: mydomain.com
Steps taken:
- Created Server in Forge on Digital Ocean
- Added SSH public key info generated from my Macbook into SSH screen in Forge and in Digital Ocean Security settings
- Created site with mydomain.com, removed "/public" from web directory, selected "General PHP / Laravel" for project type
- Clicked "Manage" and selected Git Repository to install private repo, unticked "Install Composer Dependencies
- Selected "Deploy Now"
Issues:
- Tried to access site IP of Digital Ocean server, receiving a 404 Not Found (nginx/1.11.8) screen.
- Accessing site in Safari just brings up a "Can't find server" page
I've tried restarting services, restarting Nginx specifically.
Can anybody advise? Much appreciated!
Please or to participate in this conversation.