By giyoda
Hello All. So I created a Digital Ocean droplet using Laravel Forge and linked it to a github repo…added a domain name, and setup SSL . As the project was wrapped up I wanted to transfer ownership of the droplet to my client so I followed instructions here. After doing so the IP address used by the new droplet throws a 404 Not found | nginx/1.17.3. I’m suspicious this might have something to do with the SSL certificate? Any help is appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @yodergilbert1,
I believe that you have a separate Nginx server block for your domain name. To check that SSH to the new Droplet and then run the following command:
- ls -lah /etc/nginx/sites-enabled
In that folder, you will see all of your enabled Nginx server blocks.
What you could do is disable the default config so that you are left only with the actual Nginx server block for your Laravel application.
To disable the default config you can use the following:
unlink /etc/nginx/sites-enabled/your_default_conf
And then restart Nginx:
systemctl restart nginx
Hope that this helps. Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.